/* ============================================
   BARAH ARCHITECTURAL SERVICES
   Elevated edition — editorial, cinematic, alive
   ============================================ */

:root {
    /* Brand palette — emerald + warm copper accent */
    --emerald-900: #082c22;
    --emerald-800: #0c4032;
    --emerald-700: #14573f;
    --emerald-600: #1a6f50;
    --emerald-500: #2d9a78;
    --emerald-300: #7ec3ad;
    --emerald-50:  #eaf3ee;

    --copper-900: #6b3a17;
    --copper-700: #a05c25;
    --copper-500: #c9803a;
    --copper-400: #d99761;
    --copper-300: #e9b88a;
    --copper-100: #f5dcc1;

    --plum-900: #2a1a2e;

    --ink-900: #14171a;
    --ink-800: #1f2326;
    --ink-soft: #2c322f;
    --ink-700: #3b3f3d;
    --ink-500: #6b6f6d;
    --ink-300: #b5b8b6;

    --bone-50:  #faf8f3;
    --bone-100: #f4f1e8;
    --bone-200: #ebe6d6;
    --bone-300: #d9d2bd;

    --white: #ffffff;

    /* Type */
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shape */
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 22px;

    --shadow-sm: 0 2px 8px rgba(8, 44, 34, 0.06);
    --shadow-md: 0 12px 36px rgba(8, 44, 34, 0.12);
    --shadow-lg: 0 30px 80px rgba(8, 44, 34, 0.22);

    --max: 1280px;
    --gutter: clamp(1.25rem, 4vw, 2.75rem);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-700);
    background: var(--bone-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font: inherit; }
em { font-style: italic; }

::selection { background: var(--copper-500); color: var(--bone-50); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* ============================================
   GRAIN TEXTURE
   ============================================ */
.grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    mix-blend-mode: overlay;
    z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Custom cursor removed — using default cursor */

/* ============================================
   PAGE LOADER
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--ink-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done {
    opacity: 0;
    visibility: hidden;
}
.loader__inner {
    display: flex;
    gap: 0.4rem;
}
.loader__mark {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 500;
    color: var(--bone-50);
    opacity: 0;
    transform: translateY(20px);
    animation: loaderLetter 0.7s var(--ease-out) forwards;
}
.loader__mark:nth-child(1) { animation-delay: 0.05s; color: var(--copper-400); }
.loader__mark:nth-child(2) { animation-delay: 0.15s; color: var(--copper-400); }
.loader__mark:nth-child(3) { animation-delay: 0.25s; }
.loader__mark:nth-child(4) { animation-delay: 0.35s; }
.loader__mark:nth-child(5) { animation-delay: 0.45s; }
@keyframes loaderLetter {
    to { opacity: 1; transform: translateY(0); }
}
.loader__bar {
    width: 200px;
    height: 1px;
    background: rgba(250, 248, 243, 0.15);
    overflow: hidden;
}
.loader__bar span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--copper-400);
    animation: loaderBar 1.4s var(--ease-out) 0.3s forwards;
}
@keyframes loaderBar {
    to { width: 100%; }
}

/* ============================================
   TYPE HELPERS
   ============================================ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: var(--sans);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
}
.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2.25rem;
    height: 1px;
    background: var(--copper-500);
}
.eyebrow::after {
    content: "";
    position: absolute;
    left: 2.25rem;
    top: 50%;
    width: 5px;
    height: 5px;
    background: var(--copper-500);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.eyebrow--light { color: var(--copper-300); }
.eyebrow--light::before { background: var(--copper-400); }
.eyebrow--light::after { background: var(--copper-400); }

.section-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.04;
    color: var(--ink-900);
    letter-spacing: -0.012em;
    margin-bottom: 1rem;
}
.section-title em {
    color: var(--emerald-700);
    font-style: italic;
    font-weight: 500;
}
.section-title--light { color: var(--bone-50); }
.section-title--light em { color: var(--copper-400); }
.section-title--lg { font-size: clamp(2.8rem, 8vw, 6.2rem); line-height: 0.97; letter-spacing: -0.025em; }
.section-title--xl { font-size: clamp(3.2rem, 9.5vw, 7.8rem); line-height: 0.9; letter-spacing: -0.03em; }

.section-title .dot {
    display: inline-block;
    color: var(--copper-500);
    transform: translateY(-0.05em);
}
.dot--copper { color: var(--copper-400); }

.section-sub {
    font-family: var(--sans);
    font-size: clamp(1.1rem, 1.7vw, 1.35rem);
    color: var(--ink-500);
    font-weight: 300;
    max-width: 38rem;
}
.section-sub--light { color: rgba(250, 248, 243, 0.65); }

.lede {
    font-family: var(--sans);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--ink-700);
    margin-bottom: 1.4rem;
    line-height: 1.6;
    font-weight: 400;
}

.accent { color: var(--emerald-700); font-style: italic; }
.accent-copper { color: var(--copper-500); font-style: italic; }
.accent-light { color: var(--emerald-300); font-style: italic; }

.section-head { margin-bottom: 4.5rem; max-width: 50rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.05rem 2rem;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: all .4s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn span { position: relative; z-index: 2; transition: transform .4s var(--ease); }
.btn svg { position: relative; z-index: 2; transition: transform .4s var(--ease); }
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink-900);
    transform: translateY(101%);
    transition: transform .5s var(--ease);
    z-index: 1;
}
.btn:hover::before { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
    background: var(--emerald-700);
    color: var(--bone-50);
    border-color: var(--emerald-700);
}
.btn--primary:hover {
    color: var(--bone-50);
    border-color: var(--ink-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn--ghost {
    background: transparent;
    color: var(--bone-50);
    border-color: rgba(250, 248, 243, 0.4);
}
.btn--ghost::before { background: var(--bone-50); }
.btn--ghost:hover {
    color: var(--ink-900);
    border-color: var(--bone-50);
    transform: translateY(-2px);
}
.btn--copper {
    background: var(--copper-500);
    color: var(--bone-50);
    border-color: var(--copper-500);
}
.btn--copper::before { background: var(--copper-700); }
.btn--copper:hover {
    color: var(--bone-50);
    border-color: var(--copper-700);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(201, 128, 58, 0.35);
}
.btn--copper:active {
    transform: scale(0.97);
    box-shadow: none;
    transition-duration: 0.1s;
}
.btn--block { width: 100%; }

/* ============================================
   NAV
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    background: rgba(250, 248, 243, 0);
    backdrop-filter: blur(0);
    transition: all .4s var(--ease);
}
.nav.is-scrolled {
    background: rgba(250, 248, 243, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(8, 44, 34, 0.08);
    padding: 0.65rem 0;
}
.nav__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img {
    height: 80px;
    width: auto;
    transition: opacity .3s var(--ease), height .3s var(--ease), filter .3s var(--ease);
    opacity: 0;
    filter: brightness(0) invert(1);
}
.nav.is-scrolled .nav__logo img { opacity: 1; height: 70px; filter: none; }
.nav__menu {
    display: flex;
    gap: 2.6rem;
    align-items: center;
}
.nav__menu a {
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bone-50);
    position: relative;
    padding: .25rem 0;
    transition: color .3s var(--ease);
}
.nav__menu a:not(.nav__cta)::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width .35s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav.is-scrolled .nav__menu a { color: var(--ink-900); }
.nav.is-scrolled .nav__menu a:hover { color: var(--copper-500); }
.nav__cta {
    background: var(--ink-900);
    color: var(--bone-50) !important;
    padding: 0.65rem 1.4rem !important;
    border-radius: 999px;
    transition: all .3s var(--ease);
}
.nav__cta:hover {
    background: var(--copper-500);
    transform: translateY(-1px);
}
.nav.is-scrolled .nav__cta { color: var(--bone-50) !important; }

.nav__toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 200;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all .3s var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--ink-900); }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem var(--gutter) 7rem;
    overflow: hidden;
    color: var(--bone-50);
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}
.hero__bg-image {
    position: absolute;
    inset: -10%;
    background:
        url('../images/project-3.png') center/cover no-repeat;
    transform: scale(1.08);
    animation: heroZoom 22s ease-out infinite alternate;
    filter: saturate(1.1) brightness(0.85);
}
.hero__bg-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(20, 23, 26, 0.55) 0%,
            rgba(8, 44, 34, 0.55) 30%,
            rgba(8, 44, 34, 0.7) 70%,
            rgba(20, 23, 26, 0.92) 100%),
        radial-gradient(ellipse at 75% 30%, rgba(201, 128, 58, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(45, 154, 120, 0.22) 0%, transparent 55%);
}
@keyframes heroZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1.18); }
}

.hero__inner {
    text-align: center;
    max-width: 64rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero__logo {
    height: clamp(120px, 20vw, 270px);
    width: auto;
    margin: 0 auto 2.5rem;
    filter: brightness(0) invert(1);
}

.hero__title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(3rem, 10.5vw, 8.5rem);
    line-height: 0.97;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
}
.hero__line {
    display: block;
    overflow: hidden;
    padding: 0.05em 0 0.22em;
}
.hero__word {
    display: inline-block;
    transform: translateY(110%);
    animation: wordRise 1.2s var(--ease-out) forwards;
}
.hero__line:nth-child(1) .hero__word { animation-delay: 0.2s; }
.hero__line:nth-child(2) .hero__word { animation-delay: 0.4s; }
.hero__line:nth-child(3) .hero__word { animation-delay: 0.6s; }
.hero__word--italic {
    font-style: italic;
    color: var(--copper-400);
    font-weight: 400;
}
@keyframes wordRise {
    to { transform: translateY(0); }
}

.hero__sub {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-style: italic;
    color: var(--bone-100);
    margin-bottom: 1.8rem;
}

.hero__lede {
    font-family: var(--sans);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.7;
    color: rgba(250, 248, 243, 0.85);
    max-width: 38rem;
    margin: 0 auto 2.6rem;
    font-weight: 300;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 5;
}
.hero__scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(250, 248, 243, 0.7);
}
.hero__scroll-line {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--copper-400), transparent);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--copper-400);
    animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* ============================================
   MONOGRAM DIVIDER
   ============================================ */
.monogram-divider {
    background: var(--emerald-900);
    padding: 2.5rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.monogram-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 128, 58, 0.35) 30%, rgba(201, 128, 58, 0.35) 70%, transparent);
    max-width: 240px;
}
.monogram-divider__mark {
    height: 48px;
    width: auto;
    opacity: 0.75;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.monogram-divider__mark:hover { transform: rotate(-4deg) scale(1.05); opacity: 1; }
.monogram-divider--light {
    background: var(--bone-100);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: clamp(6rem, 11vw, 10rem) 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

/* Emerald drench — all child overrides */
.about .about__bg-text {
    -webkit-text-stroke: 1.5px rgba(233, 184, 138, 0.07);
}
.about .section-title {
    color: var(--bone-50);
}
.about .section-title .accent {
    color: var(--copper-400);
}
.about .eyebrow {
    color: var(--copper-300);
}
.about .eyebrow::before { background: var(--copper-400); }
.about .eyebrow::after  { background: var(--copper-400); }
.about .lede { color: rgba(250, 248, 243, 0.78); }
.about p { color: rgba(250, 248, 243, 0.78); }
.about .about__stats { border-top-color: rgba(233, 184, 138, 0.18); }
.about .stat__num { color: var(--copper-400); }
.about .stat__num--text { color: var(--copper-300); }
.about .stat__label { color: rgba(250, 248, 243, 0.55); }
.about .about__cta { color: var(--copper-300); }
.about .about__cta::after { background: var(--copper-300); }
.about .about__cta:hover { color: var(--copper-100); }
.about .about__cta:hover::after { background: var(--copper-100); }
.about .about__image-frame { border-color: var(--copper-400); opacity: 0.7; }
.about__bg-text {
    position: absolute;
    top: 8%;
    right: -3%;
    font-family: var(--serif);
    font-size: clamp(10rem, 24vw, 22rem);
    font-weight: 500;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(20, 87, 63, 0.1);
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.02em;
    user-select: none;
}
.about__grid {
    display: grid;
    grid-template-columns: 0.95fr 1.1fr;
    gap: clamp(2.5rem, 7vw, 6rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* About image */
.about__image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
}
.about__image-mask {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.about__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s var(--ease);
}
.about__image-wrap:hover .about__image { transform: scale(1.04); }

.about__image-frame {
    position: absolute;
    inset: 1.5rem -1.75rem -1.75rem 1.5rem;
    border: 2px solid var(--copper-500);
    border-radius: var(--radius-lg);
    z-index: 1;
}
.about__image-tag {
    position: absolute;
    top: 1.5rem;
    left: -1.25rem;
    background: var(--ink-900);
    color: var(--bone-50);
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: var(--shadow-md);
}
.about__image-tag-mark {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.about__image-tag-label {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    padding-left: 0.85rem;
    border-left: 1px solid rgba(250, 248, 243, 0.25);
}

.about__content { padding: 1rem 0; position: relative; }

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.75rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--bone-300);
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat__num {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 500;
    color: var(--emerald-700);
    line-height: 1;
    margin-bottom: 0.55rem;
    letter-spacing: -0.015em;
}
.stat__num--text {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    color: var(--copper-500);
    font-style: italic;
}
.stat__label {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.about__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-900);
    padding-bottom: 0.4rem;
    position: relative;
}
.about__cta::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--ink-900);
    transform-origin: right;
    transition: transform .5s var(--ease);
}
.about__cta:hover::after { transform-origin: left; transform: scaleX(1.05); }
.about__cta:hover { color: var(--copper-500); }
.about__cta:hover::after { background: var(--copper-500); }
.about__cta svg { transition: transform .35s var(--ease); }
.about__cta:hover svg { transform: translate(3px, -3px); }

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: clamp(6rem, 11vw, 10rem) 0;
    background: var(--bone-100);
    position: relative;
    overflow: hidden;
}
.services::before {
    content: "";
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 154, 120, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.services::after {
    content: "";
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 128, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.service-card {
    background: var(--bone-50);
    padding: 2.8rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--bone-200);
    position: relative;
    transition: all .5s var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--emerald-300);
}
.service-card__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 128, 58, 0.06), transparent);
    transition: left .9s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.service-card:hover .service-card__shine { left: 130%; }

.service-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}
.service-card__num {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--emerald-700);
    letter-spacing: -0.01em;
    font-weight: 600;
    line-height: 1;
}
.service-card__chip {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--copper-500);
    color: var(--copper-700);
    border-radius: 999px;
    background: rgba(201, 128, 58, 0.06);
}
.service-card__chip--light {
    border-color: var(--copper-300);
    color: var(--copper-300);
    background: rgba(233, 184, 138, 0.1);
}

.service-card__title {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 500;
    color: var(--ink-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.service-card__title em {
    color: var(--emerald-700);
    font-style: italic;
}

.service-card__list li {
    padding: 0.65rem 0 0.65rem 1.6rem;
    border-bottom: 1px solid var(--bone-200);
    position: relative;
    color: var(--ink-700);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color .3s var(--ease), padding-left .35s var(--ease);
}
.service-card__list li:last-child { border-bottom: 0; }
.service-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--copper-500);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: width .35s var(--ease), background .35s var(--ease);
}
.service-card__list li:hover {
    padding-left: 2rem;
    color: var(--ink-900);
}
.service-card__list li:hover::before {
    width: 16px;
    border-radius: 4px;
}

.service-card__text {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(250, 248, 243, 0.88);
    margin-bottom: 1.75rem;
    font-weight: 300;
}

.service-card--dark {
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 50%, var(--ink-900) 100%);
    border-color: var(--emerald-800);
}
.service-card--dark:hover { border-color: var(--emerald-600); }
.service-card--dark .service-card__num { color: var(--copper-400); }
.service-card--dark .service-card__chip { background: rgba(201, 128, 58, 0.15); color: var(--copper-300); border-color: rgba(201, 128, 58, 0.35); }
.service-card--dark .service-card__title { color: var(--bone-50); }
.service-card--dark .service-card__title em { color: var(--copper-400); }
.service-card--dark .service-card__text { color: rgba(250, 248, 243, 0.78); }

.service-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    padding: 0.6rem 1.2rem;
    background: rgba(201, 128, 58, 0.18);
    border: 1px solid var(--copper-400);
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--copper-300);
    font-weight: 600;
}

.service-card__glow {
    position: absolute;
    top: 50%;
    right: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(201, 128, 58, 0.25) 0%, transparent 60%);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 6s var(--ease) infinite alternate;
}
@keyframes glowPulse {
    from { opacity: 0.5; transform: translate(0, -50%) scale(1); }
    to   { opacity: 1;   transform: translate(-5%, -50%) scale(1.15); }
}
.service-card--dark .service-card__head,
.service-card--dark .service-card__title,
.service-card--dark .service-card__text,
.service-card--dark .service-card__pill { position: relative; z-index: 1; }

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: clamp(6rem, 11vw, 10rem) 0;
    background: var(--ink-soft);
    color: var(--bone-50);
    position: relative;
    overflow: hidden;
}
.process::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(244, 241, 232, 0.18) 0%, rgba(44, 50, 47, 0) 100%);
    pointer-events: none;
}
.process__bg-shape {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(20, 87, 63, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(201, 128, 58, 0.10) 0%, transparent 55%);
    pointer-events: none;
}
.process__head { max-width: 50rem; }

.process__timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.process__step {
    background: linear-gradient(180deg, rgba(250, 248, 243, 0.04) 0%, rgba(250, 248, 243, 0.01) 100%);
    border: 1px solid rgba(250, 248, 243, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2.5rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all .5s var(--ease);
}
.process__step::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper-400), transparent);
    transform: scaleX(0);
    transition: transform .6s var(--ease);
}
.process__step:hover {
    border-color: rgba(201, 128, 58, 0.4);
    transform: translateY(-6px);
    background: linear-gradient(180deg, rgba(250, 248, 243, 0.06) 0%, rgba(250, 248, 243, 0.02) 100%);
}
.process__step:hover::before { transform: scaleX(1); }

.process__step-num-bg {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: var(--serif);
    font-size: clamp(5rem, 9vw, 8.5rem);
    font-weight: 500;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201, 128, 58, 0.18);
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.04em;
    transition: all .55s var(--ease);
}
.process__step:hover .process__step-num-bg {
    -webkit-text-stroke: 1px rgba(201, 128, 58, 0.45);
    transform: scale(1.04);
}
.process__step-inner { position: relative; z-index: 1; }

.process__step-num {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper-400);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}
.process__step-num::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--copper-400);
}
.process__step-title {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.2vw, 1.95rem);
    font-weight: 500;
    color: var(--bone-50);
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.process__step-title em {
    color: var(--copper-400);
    font-style: italic;
}
.process__step p {
    font-size: 0.97rem;
    color: rgba(250, 248, 243, 0.7);
    line-height: 1.65;
    max-width: 32rem;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
    padding: clamp(6rem, 11vw, 10rem) 0;
    background: var(--ink-soft);
    color: var(--bone-50);
    position: relative;
    overflow: hidden;
}
.projects::before {
    content: "";
    position: absolute;
    top: 10%;
    right: -8%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(20, 87, 63, 0.12) 0%, transparent 65%);
    pointer-events: none;
    border-radius: 50%;
}
.projects::after {
    content: "";
    position: absolute;
    bottom: 5%;
    left: -8%;
    width: 45%;
    height: 50%;
    background: radial-gradient(circle, rgba(201, 128, 58, 0.10) 0%, transparent 65%);
    pointer-events: none;
    border-radius: 50%;
}
.projects .section-title { color: var(--bone-50); }
.projects .section-sub { color: rgba(250, 248, 243, 0.7); }

.projects__feature {
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 8vw, 7rem);
}

.project-feature {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
}
.project-feature--reverse { grid-template-columns: 1fr 1.4fr; }
.project-feature--reverse .project-feature__caption { order: -1; padding-left: 0; padding-right: 1rem; }

.project-feature__image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg);
}
.project-feature__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(8, 44, 34, 0.5) 100%);
    opacity: 0.6;
    transition: opacity .4s var(--ease);
}
.project-feature:hover .project-feature__image-wrap::after { opacity: 0.3; }
.project-feature__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}
.project-feature:hover .project-feature__image-wrap img { transform: scale(1.05); }

.project-feature__caption { padding-left: 1rem; }

.project-feature__meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
.project-feature__num { color: var(--copper-400); }
.project-feature__year { color: rgba(250, 248, 243, 0.55); position: relative; padding-left: 1.5rem; }
.project-feature__year::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.7rem;
    height: 1px;
    background: rgba(250, 248, 243, 0.4);
    transform: translateY(-50%);
}
.project-feature__title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 500;
    color: var(--bone-50);
    margin-bottom: 1.25rem;
    line-height: 1.05;
    letter-spacing: -0.015em;
}
.project-feature__title em {
    color: var(--copper-400);
    font-style: italic;
}
.project-feature__desc {
    font-family: var(--sans);
    font-size: 0.97rem;
    line-height: 1.7;
    color: rgba(250, 248, 243, 0.78);
    margin-bottom: 1.75rem;
    max-width: 32rem;
    font-weight: 300;
}
.project-feature__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.project-feature__tags li {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(250, 248, 243, 0.2);
    border-radius: 999px;
    color: rgba(250, 248, 243, 0.85);
    transition: all .35s var(--ease);
}
.project-feature__tags li:hover {
    border-color: var(--copper-400);
    color: var(--copper-300);
    background: rgba(201, 128, 58, 0.1);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: clamp(6rem, 11vw, 10rem) 0;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(201, 128, 58, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(20, 87, 63, 0.22) 0%, transparent 55%),
        linear-gradient(135deg, #28332e 0%, var(--ink-soft) 100%);
    color: var(--bone-50);
    position: relative;
    overflow: hidden;
}
.contact__bg-text {
    position: absolute;
    bottom: -2%;
    left: -3%;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(8rem, 22vw, 20rem);
    font-weight: 500;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1px rgba(201, 128, 58, 0.12);
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.025em;
    user-select: none;
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 7vw, 6rem);
    position: relative;
    z-index: 2;
    align-items: start;
}
.contact__intro {
    color: rgba(250, 248, 243, 0.8);
    font-size: 1.08rem;
    margin-bottom: 3rem;
    max-width: 28rem;
    line-height: 1.7;
}
.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.contact__details li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(250, 248, 243, 0.12);
}
.contact__details li:last-child { border-bottom: 0; }
.contact__label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--copper-300);
    font-weight: 600;
}
.contact__details a {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    color: var(--bone-50);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: all .35s var(--ease);
    width: fit-content;
}
.contact__details a svg {
    opacity: 0;
    transform: translate(-8px, 4px);
    transition: all .4s var(--ease);
    color: var(--copper-400);
}
.contact__details a:hover {
    color: var(--copper-300);
    transform: translateX(4px);
}
.contact__details a:hover svg {
    opacity: 1;
    transform: translate(0, 0);
}

/* Form */
.contact__form {
    background: rgba(250, 248, 243, 0.04);
    border: 1px solid rgba(250, 248, 243, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: clamp(2.2rem, 4vw, 3.25rem);
    border-radius: var(--radius-lg);
    position: relative;
}
.contact__form::before {
    content: "";
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 60%;
    background: linear-gradient(180deg, rgba(201, 128, 58, 0.3), transparent);
    border-radius: var(--radius-lg);
    pointer-events: none;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    padding: 1px;
}
.contact__form-title {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 2.6vw, 2.1rem);
    font-weight: 500;
    color: var(--bone-50);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}
.contact__form-title em {
    color: var(--copper-400);
    font-style: italic;
}
.field { margin-bottom: 1.5rem; position: relative; }
.field label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--copper-300);
    margin-bottom: 0.6rem;
}
.field__optional {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: rgba(250, 248, 243, 0.4);
    font-size: 0.78rem;
}
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 1rem 1.15rem;
    background: rgba(250, 248, 243, 0.06);
    border: 1px solid rgba(250, 248, 243, 0.18);
    border-radius: 8px;
    color: var(--bone-50);
    font-size: 0.97rem;
    transition: all .3s var(--ease);
    font-family: var(--sans);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(250, 248, 243, 0.4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--copper-400);
    background: rgba(250, 248, 243, 0.08);
    box-shadow: 0 0 0 3px rgba(201, 128, 58, 0.18);
}
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23e9b88a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    padding-right: 2.6rem;
}
.field select option {
    background: var(--ink-900);
    color: var(--bone-50);
}
.field textarea { resize: vertical; min-height: 120px; }

.form__note {
    font-size: 0.78rem;
    color: rgba(250, 248, 243, 0.5);
    margin-top: 1rem;
    text-align: center;
}
.form__success {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(45, 154, 120, 0.18);
    border: 1px solid var(--emerald-300);
    border-radius: 8px;
    color: var(--emerald-300);
    font-size: 0.92rem;
    text-align: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--ink-900);
    color: var(--bone-100);
    padding: 4rem 0 2.5rem;
    border-top: 1px solid rgba(201, 128, 58, 0.2);
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: var(--copper-500);
}
.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.4rem;
}
.footer__logo {
    height: 180px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.92;
    transition: opacity .35s var(--ease);
}
.footer__logo:hover { opacity: 1; }
.footer__tag {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(250, 248, 243, 0.6);
    max-width: 30rem;
    letter-spacing: 0.02em;
}
.footer__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(250, 248, 243, 0.5);
    margin-top: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 248, 243, 0.08);
    width: 100%;
}
.footer__sep { color: rgba(250, 248, 243, 0.3); }
.footer__meta a:hover { color: var(--copper-300); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1080px) {
    .project-feature,
    .project-feature--reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .project-feature--reverse .project-feature__caption { order: 0; padding: 0; }
    .project-feature__caption { padding: 0; }
}

@media (max-width: 980px) {
    .about__grid,
    .contact__grid { grid-template-columns: 1fr; }

    .services__grid { grid-template-columns: 1fr; }
    .process__timeline { grid-template-columns: 1fr; }

    .about__bg-text { font-size: clamp(8rem, 30vw, 16rem); top: auto; bottom: 5%; }

    .hero__meta { flex-direction: column; gap: 0.5rem; }
    .hero__meta span:not(:last-child)::after { display: none; }
}

@media (max-width: 720px) {
    .nav__menu {
        position: fixed;
        inset: 0 0 0 auto;
        width: 84%;
        max-width: 360px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
        padding: 6rem 2.5rem 2rem;
        background: var(--bone-50);
        transform: translateX(100%);
        transition: transform .45s var(--ease);
        box-shadow: var(--shadow-lg);
    }
    .nav__menu.is-open { transform: translateX(0); }
    .nav__menu a { color: var(--ink-900) !important; font-size: 1.05rem; }
    .nav__cta {
        background: var(--ink-900);
        color: var(--bone-50) !important;
    }
    .nav__toggle { display: flex; }
    .nav__toggle.is-open span { background: var(--ink-900); }
    .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .nav__logo img { opacity: 1; }

    .hero { padding-top: 6.5rem; padding-bottom: 5rem; }
    .hero__cta { flex-direction: column; align-items: stretch; max-width: 18rem; margin: 0 auto; }
    .hero__title { font-size: clamp(2.8rem, 14vw, 4.5rem); }

    .about__stats { grid-template-columns: 1fr; gap: 1.25rem; }
    .about__image-tag { left: 0.75rem; top: 0.75rem; padding: 0.6rem 1rem; }
    .about__image-frame { display: none; }

    .marquee span { font-size: 1.3rem; }

    .project-feature__title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .contact__details a { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-up { opacity: 1; transform: none; }
    .hero__word { transform: none; opacity: 1; }
    .marquee__track { animation: none; }
}
