:root {
    --cream: #F2EFE8;
    --cream-soft: #FAF8F4;
    --cream-warm: #E8E5DC;
    --paper: #FFF9EC;
    --line: #DDD8CD;
    --ink: #171A21;
    --ink-light: #5B6470;
    --navy: #1E3A5F;
    --navy-deep: #142840;
    --coral: #DB6545;
    --coral-dark: #A8431F;
    --font-logo: 'Bricolage Grotesque', sans-serif;
    --font-serif: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
}

.logo-font {
    font-family: var(--font-logo);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.display-serif {
    font-family: var(--font-serif);
}

/* ===== CTAs ===== */
.btn-primary {
    background: var(--navy);
    color: #fff;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 1px 2px rgba(30, 58, 95, .15);
}

.btn-primary:hover {
    background: var(--navy-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 58, 95, .22);
}

.btn-coral {
    background: var(--coral);
    color: #fff;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 1px 2px rgba(219, 101, 69, .18);
}

.btn-coral:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(219, 101, 69, .28);
}

.btn-secondary {
    border: 1px solid #C5BEAE;
    color: var(--ink);
    background: transparent;
    transition: border-color .25s ease, background .25s ease;
}

.btn-secondary:hover {
    border-color: var(--ink);
    background: rgba(0, 0, 0, .03);
}

/* ===== NAV LINKS ===== */
.nav-link {
    position: relative;
    color: var(--ink);
    transition: color .25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: var(--coral);
    transition: width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--navy);
}

/* ===== BURGER ===== */
.burger {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 70;
    position: relative;
}

.burger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
    transition: transform .35s cubic-bezier(.65, 0, .35, 1), width .35s cubic-bezier(.65, 0, .35, 1),
        opacity .3s ease, background .3s ease;
}

.burger span:nth-child(1) {
    width: 24px;
}

.burger span:nth-child(2) {
    width: 18px;
    align-self: flex-end;
}

.burger span:nth-child(3) {
    width: 24px;
}

.burger:hover span:nth-child(2) {
    width: 24px;
    background: var(--coral);
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    width: 24px;
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    width: 24px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    background: var(--cream);
    transform: translateY(-100%);
    transition: transform .6s cubic-bezier(.76, 0, .24, 1);
    z-index: 40;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 100px 24px 40px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.mobile-nav-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    width: 100%;
}

.mobile-nav-items li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}

.mobile-nav-items a {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
    transition: color .25s ease;
}

.mobile-nav-items a:hover,
.mobile-nav-items a.active {
    color: var(--coral);
}

.mobile-nav-items a.active {
    font-style: italic;
}

.mobile-menu.open .mobile-nav-items li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open .mobile-nav-items li:nth-child(1) {
    transition-delay: .25s;
}

.mobile-menu.open .mobile-nav-items li:nth-child(2) {
    transition-delay: .30s;
}

.mobile-menu.open .mobile-nav-items li:nth-child(3) {
    transition-delay: .35s;
}

.mobile-menu.open .mobile-nav-items li:nth-child(4) {
    transition-delay: .40s;
}

.mobile-menu.open .mobile-nav-items li:nth-child(5) {
    transition-delay: .45s;
}

.mobile-menu.open .mobile-nav-items li:nth-child(6) {
    transition-delay: .50s;
}

.mobile-menu.open .mobile-nav-items li:nth-child(7) {
    transition-delay: .55s;
}

.mobile-menu.open .mobile-nav-items li:nth-child(8) {
    transition-delay: .60s;
}

.mobile-cta-wrap {
    opacity: 0;
    transition: opacity .5s ease .7s;
    width: 100%;
    text-align: center;
}

.mobile-menu.open .mobile-cta-wrap {
    opacity: 1;
}

.mobile-social {
    display: flex;
    gap: 28px;
    justify-content: center;
    opacity: 0;
    transition: opacity .5s ease .85s;
}

.mobile-menu.open .mobile-social {
    opacity: 1;
}

.mobile-social a {
    color: var(--ink-light);
    transition: color .25s ease, transform .25s ease;
}

.mobile-social a:hover {
    color: var(--coral);
    transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
    background: var(--cream-soft);
    border: 1px solid #E5E2D9;
    border-radius: 4px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(23, 26, 33, .07);
    border-color: #C5BEAE;
}

.project-card {
    background: var(--cream-soft);
    border: 1px solid #E5E2D9;
    border-radius: 4px;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(23, 26, 33, .1);
}

.project-image {
    transition: transform .7s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

/* ===== STEP NUMBERS ===== */
.step-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    color: var(--coral);
    line-height: 1;
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
}

/* ===== HERO IMAGE ===== */
.hero-image-wrap,
.about-image-wrap {
    position: relative;
    overflow: hidden;
}

.hero-image-wrap {
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(23, 26, 33, .14);
}

.hero-image,
.about-image {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 125%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* ===== EYEBROW ===== */
.eyebrow {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--coral);
}

.eyebrow-mute {
    color: var(--ink-light);
}

/* ===== ACCENT ITALIC ===== */
.accent-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--navy);
}

/* ===== SLOGAN SECTION ===== */
.slogan-section {
    background: var(--navy);
    color: var(--cream);
    overflow: hidden;
    position: relative;
}

.slogan-line {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.75;
}

.slogan-accent {
    color: var(--coral);
    font-style: italic;
}

/* ===== TESTIMONIAL POST-IT ===== */
.testimonial-postit {
    background: var(--paper);
    padding: 60px 40px 50px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 12px 28px rgba(0, 0, 0, .10), 0 24px 48px rgba(0, 0, 0, .04);
    transform: rotate(1.2deg);
    position: relative;
    transition: transform .5s ease;
    border-radius: 2px;
}

.testimonial-postit:hover {
    transform: rotate(0deg);
}

.testimonial-postit::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    width: 90px;
    height: 22px;
    background: rgba(219, 101, 69, .18);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
}

/* ===== H2 INTERLIGNE ===== */
h2.display-serif,
section h2 {
    line-height: 1.25;
}

/* ===== NEWSLETTER (footer) ===== */
.newsletter-title {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 6px;
}

.newsletter-description {
    font-size: .875rem;
    color: rgba(242, 239, 232, .65);
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    border: 1px solid rgba(242, 239, 232, .2);
    border-radius: 2px;
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: .875rem;
    padding: 10px 14px;
    border: none;
    outline: none;
    min-width: 0;
}

.newsletter-input::placeholder {
    color: rgba(242, 239, 232, .35);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, .04);
}

.newsletter-button {
    background: var(--coral);
    color: #fff;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.newsletter-button:hover {
    background: var(--coral-dark);
}

.newsletter-button svg {
    width: 16px;
    height: 16px;
}

.newsletter-message {
    font-size: .75rem;
    color: rgba(242, 239, 232, .55);
    margin-top: 8px;
    min-height: 18px;
}

/* ===== iFRAME BLOG ===== */
.blog-iframe {
    width: 100%;
    min-height: 480px;
    border: 1px solid #E5E2D9;
    border-radius: 4px;
    background: var(--cream-soft);
}

/* ===== SECTIONS ===== */
.section-cream {
    background: var(--cream);
}

.section-warm {
    background: var(--cream-warm);
}

.section-navy {
    background: var(--navy);
    color: var(--cream);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
    color: var(--cream);
    line-height: 1.25;
}

.section-navy .accent-italic {
    color: var(--coral);
}

/* ===== FOOTER ===== */
.footer-deco {
    height: 4px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 42%, var(--coral) 58%, var(--coral) 100%);
}

.footer-heading-line {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--coral);
    margin-right: 8px;
    vertical-align: middle;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 239, 232, .18);
    border-radius: 50%;
    color: var(--cream);
    transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.footer-social a:hover {
    border-color: var(--coral);
    color: var(--coral);
    transform: translateY(-2px);
}

::selection {
    background: var(--coral);
    color: #fff;
}
