/* ============================================================
   Tuyyab Bukhari — personal site
   Theme: emerald · ivory · copper, with a Lahore arch motif
   ============================================================ */
:root {
  --ivory: #f5f1e8;
  --ivory-2: #ece6d8;
  --white: #fffdf8;
  --ink: #0f1f19;
  --ink-soft: #3d4d46;
  --muted: #6b7a73;
  --em-950: #071b15;
  --em-900: #0b2a21;
  --em-800: #10392d;
  --em-700: #17503f;
  --em-500: #2e7d62;
  --sage: #a8c4b5;
  --sage-2: #d6e4dc;
  --copper: #c4693b;
  --copper-2: #e38c5c;
  --line: rgba(15, 31, 25, 0.12);
  --line-light: rgba(245, 241, 232, 0.14);
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 40px 80px -40px rgba(7, 27, 21, 0.45);
  --shadow-sm: 0 18px 40px -24px rgba(7, 27, 21, 0.35);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 90px; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--copper); color: var(--white); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.dark { background: var(--em-900); color: var(--ivory); }
.dark .lead, .dark .muted { color: var(--sage); }
.tint { background: var(--ivory-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--copper);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(196, 105, 59, .18); }
.dark .eyebrow { color: var(--copper-2); }
.h-display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: .98; margin: 0;
  font-size: clamp(52px, 8.2vw, 116px);
}
.h-section { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.02; margin: 18px 0 0; font-size: clamp(40px, 5.6vw, 72px); }
.h-display em, .h-section em { font-style: italic; color: var(--em-500); }
.dark .h-section em { color: var(--copper-2); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-soft); max-width: 620px; margin: 22px 0 0; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15.5px;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--em-800); color: var(--ivory); box-shadow: 0 14px 30px -14px rgba(16, 57, 45, .7); }
.btn--primary:hover { background: var(--em-700); }
.btn--copper { background: var(--copper); color: var(--white); box-shadow: 0 14px 30px -14px rgba(196, 105, 59, .8); }
.btn--copper:hover { background: var(--copper-2); }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.dark .btn--line { border-color: var(--line-light); color: var(--ivory); }
.dark .btn--line:hover { border-color: var(--copper-2); color: var(--copper-2); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav__bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 18px; border-radius: 999px; transition: background .4s, box-shadow .4s, border-color .4s;
  border: 1px solid transparent;
}
.nav.is-scrolled .nav__bar { background: rgba(255, 253, 248, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 43px; flex: none; fill: var(--em-800); overflow: visible; transition: transform .4s var(--ease); }
.brand__mark .brand__line { fill: none; stroke: var(--copper); stroke-width: 1.4; }
.brand__mark text { fill: var(--ivory); font-family: var(--serif); font-size: 19px; }
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__name { font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.brand__name small { display: block; font-weight: 600; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: background .25s, color .25s; }
.nav__links a:hover { background: rgba(16, 57, 45, .07); color: var(--ink); }
.nav__cta { padding: 12px 20px; font-size: 14.5px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--em-800); color: var(--ivory); }
.nav__toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .3s, opacity .3s; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 70px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 85% 20%, rgba(46, 125, 98, .16), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgba(196, 105, 59, .12), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero__hello { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.hero__hello img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.hero__hello b { color: var(--em-500); }
.hero__sub { font-size: clamp(18px, 1.6vw, 20.5px); color: var(--ink-soft); max-width: 560px; margin: 28px 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__roles { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 24px; }
.role { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.role:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.role small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.role strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; }

.arch { position: relative; overflow: hidden; background: var(--em-800); clip-path: url(#archClip); }
.arch-shadow { filter: drop-shadow(0 30px 40px rgba(7, 27, 21, .35)); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__media { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero__media::before, .hero__media::after { content: ""; position: absolute; inset: -22px -22px 40px 40px; clip-path: url(#archClip); }
.hero__media::before { background: rgba(196, 105, 59, .55); }
.hero__media::after { inset: -20px -20px 42px 42px; background: var(--ivory); }
.hero__media .arch { z-index: 1; }
.hero__media .arch { aspect-ratio: 4 / 5.3; }
.hero__media .arch img { object-position: 50% 12%; transform: scale(1.05); transition: transform 1.8s var(--ease); }
.hero.is-ready .hero__media .arch img { transform: scale(1); }
.float-card {
  position: absolute; z-index: 2; background: rgba(255, 253, 248, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 12px; animation: bob 6s ease-in-out infinite;
}
.float-card strong { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1; color: var(--em-800); }
.float-card span { font-size: 13px; line-height: 1.35; color: var(--ink-soft); font-weight: 600; }
.float-card--a { left: -44px; bottom: 90px; }
.float-card--b { right: -26px; top: 70px; animation-delay: -3s; }
.float-card--b i { width: 36px; height: 36px; border-radius: 50%; background: var(--em-800); display: grid; place-items: center; }
.float-card--b i svg { width: 16px; height: 16px; fill: var(--copper-2); margin-left: 2px; }
.float-card--b { cursor: pointer; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- marquee ---------- */
.band { background: var(--em-900); color: var(--ivory); padding: 26px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.band:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; gap: 44px; padding-right: 44px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); white-space: nowrap; color: rgba(245, 241, 232, .85); }
.marquee li::after { content: ""; width: 10px; height: 12px; border-radius: 6px 6px 2px 2px; background: var(--copper); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.story__media { position: sticky; top: 110px; }
.story__media .arch { aspect-ratio: 3 / 4; }
.story__media .arch img { object-position: 50% 15%; }
.story__caption { margin-top: 16px; font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.story__caption::before { content: ""; width: 24px; height: 1px; background: var(--copper); }
.story__body p { margin: 0 0 20px; color: var(--ink-soft); }
.story__body p strong { color: var(--ink); }
.drop::first-letter { font-family: var(--serif); float: left; font-size: 92px; line-height: .78; padding: 8px 12px 0 0; color: var(--em-700); }
.quote { margin: 40px 0 0; padding: 34px 36px; border-radius: var(--radius); background: var(--em-800); color: var(--ivory); position: relative; overflow: hidden; }
.quote::before { content: "“"; position: absolute; right: 20px; top: -30px; font-family: var(--serif); font-size: 200px; color: rgba(227, 140, 92, .25); line-height: 1; }
.quote p { position: relative; margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 80px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.stat__num { font-family: var(--serif); font-size: clamp(54px, 5.4vw, 76px); line-height: .9; color: var(--em-800); }
.stat__num sup { font-size: .45em; color: var(--copper); top: -.85em; margin-left: 2px; }
.stat__label { margin-top: 14px; font-size: 14.5px; color: var(--muted); font-weight: 600; }

/* ---------- timeline ---------- */
.journey { overflow: hidden; }
.tl-wrap { margin-top: 56px; position: relative; }
.tl-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--em-500) transparent; }
.tl { scroll-snap-align: start; border-radius: var(--radius); padding: 30px 26px; background: rgba(245, 241, 232, .04); border: 1px solid var(--line-light); position: relative; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.tl:hover { background: rgba(245, 241, 232, .07); border-color: rgba(227, 140, 92, .5); transform: translateY(-4px); }
.tl__year { font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--copper-2); }
.tl__title { font-weight: 800; margin: 18px 0 8px; font-size: 17px; }
.tl__text { font-size: 14.5px; color: var(--sage); line-height: 1.6; margin: 0; }
.tl__dot { position: absolute; top: 30px; right: 26px; width: 10px; height: 12px; border-radius: 6px 6px 2px 2px; background: var(--em-500); }
.tl:last-child { background: var(--copper); border-color: var(--copper); }
.tl:last-child .tl__year, .tl:last-child .tl__text { color: var(--white); }
.tl:last-child .tl__dot { background: var(--white); }

/* ---------- bento ventures ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.tile { position: relative; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); padding: 32px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile--big { grid-column: span 6; display: grid; grid-template-columns: 1.1fr .9fr; padding: 0; background: var(--em-800); color: var(--ivory); border: 0; }
.tile--big .tile__body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; }
.tile--big .tile__img { position: relative; min-height: 420px; }
.tile--big .tile__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.tile--3 { grid-column: span 3; }
.tile--2 { grid-column: span 2; }
.tile__meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.tile__role { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--em-500); }
.tile--big .tile__role { color: var(--copper-2); }
.tile__when { font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--ivory); color: var(--ink-soft); white-space: nowrap; }
.tile--big .tile__when { background: rgba(245, 241, 232, .1); color: var(--sage); }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; margin: 20px 0 12px; }
.tile p { margin: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; }
.tile--big p { color: var(--sage); font-size: 16.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.tags li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--ivory); color: var(--em-800); }
.tile--big .tags li { background: rgba(245, 241, 232, .08); color: var(--ivory); }
.tile__link { margin-top: auto; font-weight: 800; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; color: var(--em-800); }
.tile--big .tile__link { color: var(--copper-2); }
.tile__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.tile:hover .tile__link svg { transform: translate(3px, -3px); }
.tile--farm { background: linear-gradient(160deg, #e9efe0, #dfe7d3); }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.product { border-radius: var(--radius); padding: 30px; background: rgba(245, 241, 232, .04); border: 1px solid var(--line-light); transition: border-color .35s, background .35s; }
.product:hover { border-color: rgba(227, 140, 92, .55); background: rgba(245, 241, 232, .07); }
.product__icon { width: 50px; height: 56px; border-radius: 25px 25px 10px 10px; display: grid; place-items: center; background: rgba(46, 125, 98, .25); color: var(--copper-2); margin-bottom: 24px; }
.product__icon svg { width: 22px; height: 22px; }
.product__tag { font-size: 12px; color: var(--copper-2); letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.product h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 8px 0 10px; }
.product p { color: var(--sage); font-size: 15.5px; margin: 0; }

/* ---------- expertise ---------- */
.expertise { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.skills { margin-top: 36px; border-top: 1px solid var(--line); }
.skill { display: grid; grid-template-columns: 56px 1fr 24px; gap: 14px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.skill:hover { padding-left: 10px; }
.skill__n { font-family: var(--serif); font-size: 26px; color: var(--copper); line-height: 1.2; }
.skill h3 { margin: 0 0 4px; font-size: 18.5px; font-weight: 800; }
.skill p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.skill__arrow { width: 22px; height: 22px; color: var(--em-500); opacity: .4; transition: opacity .3s, transform .3s var(--ease); margin-top: 4px; }
.skill:hover .skill__arrow { opacity: 1; transform: rotate(-45deg); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.stack span { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 15px; font-size: 13.5px; font-weight: 700; color: var(--em-800); }
.exp-media { position: relative; }
.exp-media .arch { aspect-ratio: 3 / 4; }
.exp-media .arch img { object-position: 50% 12%; }
.exp-media .chip-card { position: absolute; left: -30px; bottom: 40px; background: var(--white); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); max-width: 250px; border: 1px solid var(--line); }
.chip-card b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--em-800); }
.chip-card span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.client { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; transition: border-color .3s, transform .3s var(--ease); }
.client:hover { border-color: var(--em-500); transform: translateY(-3px); }
.client strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; }
.client span { font-size: 13px; color: var(--muted); font-weight: 600; }
.client--accent { background: var(--em-800); color: var(--ivory); border-color: var(--em-800); }
.client--accent span { color: var(--sage); }
.regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.region { display: inline-flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 8px; font-weight: 700; font-size: 14.5px; }
.region i { width: 28px; height: 28px; border-radius: 50%; background: var(--em-800); color: var(--copper-2); font-style: normal; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; letter-spacing: .04em; }

/* ---------- agriculture ---------- */
.agri { position: relative; overflow: hidden; color: var(--ivory); background: var(--em-950); }
.agri__bg { position: absolute; inset: 0; }
.agri__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.agri__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 27, 21, .94) 0%, rgba(7, 27, 21, .78) 42%, rgba(7, 27, 21, .25) 75%, rgba(7, 27, 21, .1) 100%); }
.agri__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: clamp(80px, 11vw, 150px) 0; }
.agri .lead { color: rgba(245, 241, 232, .82); }
.agri .h-section em { color: #d9c98a; }
.agri__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 30px 0 0; padding: 0; list-style: none; }
.agri__list li { padding-left: 24px; position: relative; font-size: 15.5px; font-weight: 600; color: rgba(245, 241, 232, .92); }
.agri__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 12px; border-radius: 6px 6px 2px 2px; background: #d9c98a; }
.agri__portrait { justify-self: end; width: 100%; max-width: 380px; }
.agri__portrait .arch { aspect-ratio: 3 / 4.2; }
.agri__portrait .arch img { object-position: 50% 18%; }

/* ---------- film ---------- */
.film { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.film__player { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); border: 1px solid var(--line-light); }
.film__player video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- problems ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.problem {
  text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 28px; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
}
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.problem__tag { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--em-500); }
.problem__q { font-family: var(--serif); font-size: 27px; line-height: 1.12; margin: 4px 0 0; }
.problem p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.problem__cta { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 800; color: var(--copper); display: inline-flex; gap: 8px; align-items: center; }
.problem:hover { background: var(--em-800); color: var(--ivory); }
.problem:hover .problem__tag { color: var(--copper-2); }
.problem:hover p { color: var(--sage); }
.problem:hover .problem__cta { color: var(--copper-2); }

/* ---------- consult ---------- */
.consult { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; color: var(--sage); font-size: 15.5px; }
.steps li::before { content: counter(s); width: 36px; height: 40px; border-radius: 18px 18px 8px 8px; background: rgba(46, 125, 98, .3); color: var(--copper-2); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; }
.steps b { color: var(--ivory); display: block; font-weight: 800; }
.consult__me { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding: 16px; border-radius: 20px; background: rgba(245, 241, 232, .05); border: 1px solid var(--line-light); }
.consult__me img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.consult__me b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.consult__me span { font-size: 13.5px; color: var(--sage); }
.weekly { margin-top: 22px; font-size: 15px; color: var(--sage); }
.weekly a { color: var(--copper-2); font-weight: 700; }
.form { background: var(--white); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .7); }
.form h3 { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; margin: 0 0 8px; }
.form > p { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .field__label { font-size: 13px; font-weight: 800; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--ivory); border: 1px solid transparent;
  border-radius: 14px; padding: 14px 15px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--em-500); box-shadow: 0 0 0 4px rgba(46, 125, 98, .14); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 18px; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; }
.topics span:hover { border-color: var(--em-500); }
.topics input:checked + span { background: var(--em-800); color: var(--ivory); border-color: var(--em-800); }
.topics input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form__actions .btn { flex: 1 1 200px; }
.form__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.form.is-error #f-name { border-color: #b3261e; }
.btn--wa { background: #1f8a4c; color: #fff; }
.btn--wa:hover { background: #23a058; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; position: relative; font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--em-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f1e8' stroke-width='2.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--ink-soft); max-width: 640px; }

/* ---------- footer ---------- */
.footer { background: var(--em-950); color: var(--sage); padding: 90px 0 36px; position: relative; overflow: hidden; }
.footer__big { font-family: var(--serif); font-size: clamp(56px, 11vw, 170px); line-height: .9; color: var(--ivory); letter-spacing: -.02em; margin: 0 0 60px; }
.footer__big em { color: var(--copper-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 46px; border-bottom: 1px solid var(--line-light); }
.footer h4 { color: var(--ivory); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a:hover { color: var(--copper-2); }
.footer .brand__name { color: var(--ivory); }
.footer .brand__name small { color: var(--sage); }
.footer .brand__mark { fill: var(--em-700); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 13.5px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; transition: all .3s var(--ease); }
.socials a:hover { background: var(--copper); border-color: var(--copper); color: var(--white); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- modal + wa ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(4, 14, 11, .9); padding: 20px; }
.modal.is-open { display: flex; }
.modal__box { width: min(1100px, 100%); position: relative; }
.modal__box video { width: 100%; border-radius: 16px; background: #000; max-height: 82vh; }
.modal__close { position: absolute; top: -52px; right: 0; background: rgba(245, 241, 232, .1); border: 0; color: var(--ivory); font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 999px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1f8a4c; display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--copper); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: heroIn 1.1s var(--ease) both; }
.hero .reveal[data-delay="1"] { animation-delay: .12s; }
.hero .reveal[data-delay="2"] { animation-delay: .24s; }
.hero .reveal[data-delay="3"] { animation-delay: .36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .marquee, .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .products { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .tile--2 { grid-column: span 3; }
  .tile--2:last-child { grid-column: span 6; }
}
@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav.is-open .nav__bar { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); border-radius: 26px; flex-wrap: wrap; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; width: 100%; padding: 6px 0 8px; order: 3; }
  .nav.is-open .nav__links a { padding: 13px 14px; font-size: 17px; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { padding-top: 120px; }
  .hero__grid, .story, .expertise, .film, .consult, .faq-grid, .agri__grid { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; max-width: 420px; margin-top: 20px; }
  .float-card--a { left: -8px; }
  .float-card--b { right: -8px; }
  .story__media { position: relative; top: 0; max-width: 460px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tile--big { grid-template-columns: 1fr; }
  .tile--big .tile__img { min-height: 360px; order: -1; }
  .tile--3, .tile--2, .tile--2:last-child { grid-column: span 6; }
  .problems { grid-template-columns: 1fr; }
  .exp-media { max-width: 460px; }
  .exp-media .chip-card { left: 12px; }
  .agri__portrait { justify-self: start; max-width: 320px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__name small { display: none; }
  .hero__roles { grid-template-columns: 1fr; gap: 14px; }
  .role { border-right: 0; margin-right: 0; padding-right: 0; }
  .float-card strong { font-size: 30px; }
  .float-card { padding: 10px 14px; }
  .float-card--b { top: 30px; }
  .products { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .client { min-height: 110px; padding: 20px 18px; }
  .client strong { font-size: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .agri__list { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .tile { padding: 26px; }
  .tile--big .tile__body { padding: 28px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .stat { padding: 22px 18px; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--copper); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 400px; border-radius: 999px 999px 40px 40px; border: 2px solid rgba(255, 253, 248, .25); }
.cta-band__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band__kicker { margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.cta-band__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; max-width: 760px; }
.cta-band__title em { color: var(--em-900); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--copper { background: var(--em-900); box-shadow: none; }
.cta-band .btn--copper:hover { background: var(--em-800); }
.cta-band .btn--line { border-color: rgba(255, 253, 248, .5); color: var(--white); }
.cta-band .btn--line:hover { border-color: var(--white); }

/* ---------- insights ---------- */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.insight { display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .35s var(--ease), box-shadow .35s; }
.insight:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.insight__tag { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--em-500); }
.insight h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.insight p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.insight__more { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 14.5px; color: var(--copper); }

/* ---------- mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(255, 253, 248, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transform: translateY(140%); transition: transform .4s var(--ease); }
  .mobile-cta.is-shown { transform: none; }
  .mobile-cta .btn { flex: 1; padding: 14px 18px; }
  .mobile-cta__wa { width: 50px; flex: none; border-radius: 50%; background: #1f8a4c; display: grid; place-items: center; }
  .mobile-cta__wa svg { width: 24px; height: 24px; fill: #fff; }
  .wa-float { display: none; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 920px) { .insights { grid-template-columns: 1fr; } .cta-band__actions .btn { flex: 1 1 auto; } }

/* ---------- article pages ---------- */
.article-hero { padding: 150px 0 40px; }
.crumbs { font-size: 13.5px; color: var(--muted); font-weight: 600; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.crumbs a { color: var(--em-700); }
.crumbs a:hover { color: var(--copper); }
.article-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.015em; margin: 16px 0 0; max-width: 900px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 14.5px; color: var(--ink-soft); }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.byline b { display: block; color: var(--ink); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 6vw, 80px); padding-bottom: clamp(80px, 10vw, 130px); align-items: start; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-soft); max-width: 720px; }
.prose > p:first-child { font-size: 21px; color: var(--ink); }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; color: var(--ink); margin: 52px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 32px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--copper); }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15.5px; background: var(--white); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 120px; }
.prose th { background: var(--em-800); color: var(--ivory); font-weight: 700; }
.callout { margin: 36px 0; padding: 26px 28px; border-radius: var(--radius); background: var(--em-800); color: var(--ivory); }
.callout p { margin: 0 0 16px; color: var(--sage); }
.callout strong { color: var(--ivory); font-family: var(--serif); font-weight: 400; font-size: 26px; display: block; line-height: 1.15; margin-bottom: 8px; }
.aside-card { position: sticky; top: 110px; background: var(--em-800); color: var(--ivory); border-radius: var(--radius); padding: 28px; }
.aside-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; border: 2px solid var(--copper); }
.aside-card h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0 0 10px; }
.aside-card p { color: var(--sage); font-size: 15px; margin: 0 0 20px; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.more-reading { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 30px; }
.more-reading h2 { margin-top: 0; }
@media (max-width: 920px) { .article { grid-template-columns: 1fr; } .aside-card { position: relative; top: 0; } .article-hero { padding-top: 120px; } }
.story__media .arch, .exp-media .arch { filter: none; }
.story__media, .exp-media, .agri__portrait { filter: drop-shadow(0 34px 44px rgba(7, 27, 21, .28)); }
.agri__portrait { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
