/* Growmatica High — public site styles */
:root {
  --c1: #1d666c;   /* primary */
  --c2: #18555a;   /* secondary */
  --c3: #134448;
  --c4: #0e3336;
  --c5: #092224;
  --tint: #8cc9c4;     /* light accent derived from primary, for dark backgrounds */
  --mint: #e4efed;
  --paper: #f4f7f6;
  --white: #ffffff;
  --ink: #0b2426;
  --muted: #5b7375;
  --line: rgba(9, 34, 36, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(9, 34, 36, 0.35);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);  /* soft ease-out for hovers */
  --hover: .45s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section.tight { padding: 70px 0; }
.dark { background: var(--c5); color: #e8f1f0; }
.dark .muted, .dark p { color: rgba(232, 241, 240, 0.72); }
.muted { color: var(--muted); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; overflow-wrap: break-word; }
p, li, blockquote { text-wrap: pretty; }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; }
.h2 em, .display em { font-style: italic; color: var(--c1); }
.dark .h2 em, .dark .display em, .hero .display em { color: var(--tint); }
.lead { font-size: 1.15rem; max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c1);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.dark .eyebrow { color: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .h2 { margin-top: 16px; max-width: 760px; }
.section-head p { max-width: 420px; margin: 0; }
.center { text-align: center; }
.center .section-head, .section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: transform var(--hover) var(--ease), background-color var(--hover) var(--ease), color var(--hover) var(--ease), border-color var(--hover) var(--ease), box-shadow var(--hover) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(9, 34, 36, .45); }
.btn:active { transform: translateY(0); transition-duration: .15s; }
.btn svg { width: 18px; height: 18px; transition: transform var(--hover) var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-primary { background: var(--c1); color: #fff; }
.btn-primary:hover { background: var(--c3); }
.btn-dark { background: var(--c5); color: #fff; }
.btn-dark:hover { background: var(--c1); }
.btn-light { background: #fff; color: var(--c5); }
.btn-light:hover { background: var(--mint); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c1); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--hover) var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- navbar ---------- */
.nav-wrap { position: fixed; inset: 16px 0 auto; z-index: 50; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 10px 10px 10px 22px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 40px -18px rgba(9, 34, 36, 0.4);
  width: calc(100% - 32px);
}
.brand { display: inline-flex; border-radius: 12px; }
.brand img, .footer-logo img { transition: transform var(--hover) var(--ease), filter var(--hover) var(--ease); }
.brand:hover img, .footer-logo:hover img { transform: scale(1.06) rotate(-1.5deg); filter: drop-shadow(0 6px 12px rgba(29, 102, 108, .25)); }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 0.94rem;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  transition: background-color var(--hover) var(--ease), color var(--hover) var(--ease);
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links a[aria-current="page"] { color: var(--c1); }
.nav-links svg { width: 14px; height: 14px; }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  width: 560px; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--radius-sm); transition: background-color var(--hover) var(--ease), transform var(--hover) var(--ease); }
.dropdown-menu a:hover { background: var(--paper); transform: translateX(3px); }
.dropdown-menu .ico { flex: none; }
.dropdown-menu strong { display: block; font-size: 0.95rem; }
.dropdown-menu small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: .25s; }
.nav.open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- icon tile ---------- */
.ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint); color: var(--c1);
}
.ico svg { width: 24px; height: 24px; }
.dark .ico { background: rgba(140, 201, 196, 0.12); color: var(--tint); }

/* ---------- hero ---------- */
.hero { padding: 16px; }
.hero-inner {
  position: relative; overflow: hidden; border-radius: 32px;
  min-height: 92vh; display: flex; align-items: flex-end;
  padding: 160px 0 64px; color: #fff; background: var(--c5);
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: heroZoom 18s ease-out forwards; }
.hero-inner::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,34,36,.55) 0%, rgba(9,34,36,.35) 35%, rgba(9,34,36,.92) 100%),
    radial-gradient(80% 60% at 0% 100%, rgba(29,102,108,.55), transparent 70%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow { color: var(--tint); }
.hero .display { margin: 20px 0 28px; max-width: 1050px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero-bottom p { max-width: 560px; margin: 0; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.glass-card {
  padding: 22px 24px; border-radius: var(--radius); width: 300px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.glass-card .num { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.glass-card p { font-size: 0.92rem; margin: 6px 0 0; }
@keyframes heroZoom { to { transform: scale(1); } }

/* page hero (inner pages) */
.page-hero .hero-inner { min-height: 62vh; }
.page-hero .display { font-size: clamp(2.8rem, 7vw, 6rem); }
.crumbs { display: flex; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.8rem); line-height: 1; color: var(--c4); }
.stat p { margin: 10px 0 0; color: var(--muted); font-weight: 600; }
.dark .stats, .dark .stat { border-color: var(--line-dark); }
.dark .stat .num { color: #fff; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 34px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: 2.2rem; color: var(--c3); opacity: .55; white-space: nowrap; display: inline-flex; align-items: center; gap: 72px; }
.marquee-track span::after { content: "✦"; font-size: 1rem; color: var(--c1); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .6s var(--ease), color .6s var(--ease);
  overflow: hidden; min-height: 330px;
}
.service-card h3 { font-size: 1.45rem; }
.service-card p { margin: 0; color: var(--muted); flex: 1; transition: color .6s var(--ease); }
.service-card .ico, .service-card .link-arrow, .service-card .num-tag { transition: background-color .6s var(--ease), color .6s var(--ease); }
.service-card .num-tag { position: absolute; top: 30px; right: 32px; font-family: var(--serif); font-size: 1.4rem; color: var(--line); color: rgba(9,34,36,.25); }
.service-card .link-arrow { margin-top: auto; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--c4); color: #fff; }
.service-card:hover p { color: rgba(255,255,255,.75); }
.service-card:hover .ico { background: rgba(140,201,196,.15); color: var(--tint); }
.service-card:hover .link-arrow, .service-card:hover .num-tag { color: var(--tint); }

/* why us */
.why { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.why-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-media .glass-card { position: absolute; left: 22px; bottom: 22px; color: #fff; background: rgba(9,34,36,.55); }
.why-list { display: grid; gap: 14px; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); transition: background-color var(--hover) var(--ease), transform var(--hover) var(--ease); }
.why-item:hover { background: rgba(255,255,255,.07); transform: translateX(4px); }
.why-item h3 { font-size: 1.2rem; margin-bottom: 6px; color: #fff; }
.why-item p { margin: 0; }

/* projects */
.project-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project-media { position: relative; flex: none; width: 100%; aspect-ratio: 16 / 11; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-media .thumb-bg { position: absolute; inset: 0; display: none; filter: blur(18px) brightness(.9); transform: scale(1.15); }
.project-media.is-portrait .thumb-bg { display: block; }
.project-media.is-portrait img:not(.thumb-bg) { position: relative; object-fit: contain; }
.project-card:hover .project-media .thumb-bg { transform: scale(1.15); }
.project-media .badge { position: absolute; top: 16px; left: 16px; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255,255,255,.92); color: var(--c3); }
.project-body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 28px; }
.project-body .meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); font-weight: 600; }
.project-body h3 { font-size: 1.35rem; margin: 10px 0 8px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.project-body p { margin: 0 0 16px; color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.project-body .link-arrow { margin-top: auto; padding-top: 14px; }
.result { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c1); font-size: .92rem; }
.result svg { width: 16px; height: 16px; }
.projects-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* testimonials */
.testimonial { height: 100%; padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.testimonial .result-pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--c3); font-weight: 700; font-size: .82rem; }
.testimonial blockquote { margin: 0; font-family: var(--serif); font-size: 1.55rem; line-height: 1.3; color: var(--c5); flex: 1; }
.person { display: flex; align-items: center; gap: 14px; }
.person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.person strong { display: block; }
.person small { color: var(--muted); }

/* process */
.process { --cols: 4; display: flex; flex-wrap: wrap; gap: 14px; counter-reset: step; }
.step { flex: 1 1 calc((100% - (var(--cols) - 1) * 14px) / var(--cols)); position: relative; padding: 26px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--tint); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.step p { margin: 0; font-size: .92rem; max-width: 34ch; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); padding: 4px 26px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--c1); transition: transform var(--hover) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* team */
.member { height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member-photo { aspect-ratio: 4 / 4.6; overflow: hidden; position: relative; background: var(--mint); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: transform 1s var(--ease), filter .8s var(--ease); }
.member:hover .member-photo img { transform: scale(1.05); filter: none; }
.member-photo .social-btn { position: absolute; right: 14px; bottom: 14px; }
.member-body { padding: 20px 22px 24px; }
.member-body h3 { font-size: 1.15rem; }
.member-body .role { color: var(--c1); font-weight: 700; font-size: .9rem; margin: 4px 0 10px; }
.member-body p { margin: 0; color: var(--muted); font-size: .9rem; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c4); border: 1px solid var(--line); transition: background-color var(--hover) var(--ease), color var(--hover) var(--ease), transform var(--hover) var(--ease); }
.social-btn:hover { background: var(--c1); color: #fff; transform: translateY(-2px); }
.social-btn svg { width: 17px; height: 17px; }

/* filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color var(--hover) var(--ease), border-color var(--hover) var(--ease), color var(--hover) var(--ease); }
.filter:hover { border-color: var(--c1); }
.filter[aria-pressed="true"] { background: var(--c4); border-color: var(--c4); color: #fff; }

/* service detail */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.feature-list svg { flex: none; width: 20px; height: 20px; color: var(--c1); margin-top: 2px; }
.sub-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); }
.sub-card .idx { font-family: var(--serif); font-size: 1.6rem; color: var(--tint); }
.sub-card h3 { font-size: 1.25rem; color: #fff; margin: 14px 0 8px; }
.sub-card p { margin: 0; }
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.spotlight-media { min-height: 420px; background-size: cover; background-position: center; }
.spotlight-body { padding: 56px; }
.spotlight-body ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.spotlight-body li { display: flex; gap: 12px; font-weight: 600; }
.spotlight-body li svg { flex: none; width: 22px; height: 22px; color: var(--c1); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }

/* about */
.about-media { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.mv-card { padding: 36px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mv-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-bottom: 10px; color: var(--c3); }
.mv-card p { margin: 0; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-card { padding: 40px; border-radius: 28px; background: var(--c5); color: #fff; }
.info-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ico { flex: none; }
.info-row > div { min-width: 0; overflow-wrap: anywhere; }
.info-card .h2 em { color: var(--tint); }
.info-row small { display: block; color: rgba(255,255,255,.6); font-size: .82rem; }
.info-row strong { font-weight: 600; }
.form-card { padding: 44px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c1); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
/* floating labels: label sits inside the box, then glides up when the field is focused or filled */
.field.float { position: relative; display: block; }
.field.float input, .field.float select, .field.float textarea {
  padding: 26px 16px 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.field.float select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d666c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field.float select option { color: var(--ink); }
.field.float input:hover, .field.float select:hover, .field.float textarea:hover { border-color: rgba(29, 102, 108, .35); }
.field.float input:focus, .field.float select:focus, .field.float textarea:focus {
  outline: none; border-color: var(--c1); background-color: #fff; box-shadow: 0 0 0 4px rgba(29, 102, 108, .12);
}
.field.float label {
  position: absolute; left: 17px; top: 19px; margin: 0; pointer-events: none; transform-origin: left top;
  font-weight: 600; font-size: .98rem; color: var(--muted);
  transition: transform .35s var(--ease), color .35s var(--ease), font-weight .35s var(--ease);
}
.field.float input:focus + label, .field.float input:not(:placeholder-shown) + label, .field.float input:-webkit-autofill + label,
.field.float textarea:focus + label, .field.float textarea:not(:placeholder-shown) + label,
.field.float select:focus + label, .field.float.filled label {
  transform: translateY(-11px) scale(.76); color: var(--c1); font-weight: 700;
}
/* until a choice is made the select's own text is hidden, so only the label shows */
.field.float:not(.filled) select:not(:focus) { color: transparent; }
.field.float textarea::placeholder { color: transparent; transition: color .35s var(--ease); }
.field.float textarea:focus::placeholder { color: #8a9c9e; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--c1); }
.form-status.err { color: #b3261e; }

/* cta band */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: 90px 56px; background: var(--c1); color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; border: 90px solid rgba(255,255,255,.06); left: -220px; top: -260px; }
.cta-band::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(9,34,36,.25); right: -140px; bottom: -220px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .h2 { max-width: 820px; margin: 0 auto 18px; }
.cta-band .h2 em { color: #cdeae7; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; color: rgba(255,255,255,.82); }

/* footer */
.footer { background: var(--c5); color: rgba(232,241,240,.75); padding: 90px 0 30px; margin-top: 110px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
.footer-logo { display: inline-block; background: #fff; padding: 10px 16px; border-radius: 14px; }
.footer-logo img { height: 40px; width: auto; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { transition: color var(--hover) var(--ease); }
.footer a:hover { color: #fff; }
.footer .socials { display: flex; gap: 10px; margin-top: 24px; }
.footer .social-btn { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: #fff; }
.footer .social-btn:hover { background: var(--c1); }
.footer-big { font-family: var(--serif); font-size: clamp(3.5rem, 12vw, 10rem); line-height: 1; color: rgba(140,201,196,.12); text-align: center; margin: 40px 0 10px; white-space: nowrap; overflow: hidden; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .88rem; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- case studies, blog, legal ---------- */
.badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.project-media .badges .badge { position: static; }
.badge-alt { background: var(--c5); color: #fff; }
.project-media { background: var(--mint); }
.hero-slogan { font-weight: 700; color: #fff; letter-spacing: .01em; margin-bottom: 6px; }
.list-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c1); margin-bottom: 18px; }
.dark-crumbs { color: var(--muted); }
.dark-crumbs a:hover { color: var(--c1); }
.case { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.case-facts { position: sticky; top: 110px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.case-facts dl { margin: 0; display: grid; gap: 18px; }
.case-facts dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 4px 0 0; font-weight: 600; }
.case-facts dd a { color: var(--c1); }
.case-facts > div { margin-top: 18px; }
.case-block { margin-bottom: 40px; }
.case-block h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-bottom: 14px; }
.case-block p { color: var(--muted); font-size: 1.05rem; margin: 0 0 12px; }
.notice { padding: 16px 20px; border-radius: var(--radius-sm); background: var(--mint); color: var(--c3); font-weight: 600; margin: 0 0 32px; }
/* Behance-style canvas: consecutive images stack flush like one long design; text, grids and video get breathing room.
   Images never render wider than their real pixels, so small files stay sharp (centred) instead of being stretched blurry. */
.project-blocks { max-width: 1400px; margin: 64px auto 0; padding: 0; display: flex; flex-direction: column; }
.pb-image { margin: 0; }
.pb-image img, .pb-grid img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.pb-image figcaption { margin: 10px 0 24px; text-align: center; color: var(--muted); font-size: .92rem; }
.pb-grid { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 24px; align-items: start; margin: 24px 0; }
.pb-text { margin: 40px auto; width: 100%; padding: 0 24px; }
.pb-video { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c5); margin: 24px 0; }
.pb-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.pb-video video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
/* ---------- blog article ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--c1); transform: scaleX(0); transform-origin: left; }
.post { padding: 170px 0 40px; }
.post-head { display: flex; flex-direction: column; align-items: flex-start; }
.post-head .crumbs { flex-wrap: wrap; margin-bottom: 34px; }
.post-title { max-width: 1000px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.02em; margin: 18px 0 20px; }
.post-dek { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 820px; margin: 0 0 30px; }
.post-byline { display: flex; align-items: center; gap: 14px; text-align: left; font-size: .95rem; }
.post-byline > div { display: flex; flex-direction: column; gap: 2px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c1); color: #fff; font-weight: 700; font-size: 1.1rem; flex: none; }
.post-cover-wrap { margin-top: 56px; }
.post-cover { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.post .post-body { max-width: none; margin: 64px 0 0; font-size: 1.15rem; line-height: 1.8; }
.post-body > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.2em; line-height: .85; margin: 6px 12px 0 0; color: var(--c1); }
.post-body h2 { font-size: 2.2rem; margin-top: 52px; }
.prose blockquote { margin: 36px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--c1); font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; }
.prose blockquote p { margin: 0; color: var(--ink); }
.post-foot { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-foot-label { font-weight: 700; }
.share { display: flex; align-items: center; gap: 10px; }
.share a, .share-copy { height: 42px; min-width: 42px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: background-color var(--hover) var(--ease), color var(--hover) var(--ease); }
.share a svg { width: 18px; height: 18px; }
.share-copy { padding: 0 18px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.share a:hover, .share-copy:hover { background: var(--c1); color: #fff; }
.post-related { background: #fff; }
/* blog cards: newest post is featured full-width when there are enough posts */
.post-cat { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c1); }
.post-card .project-body h3 { margin-top: 8px; }
.post-card .meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.post-featured { grid-column: 1 / -1; }
.post-featured .post-card { display: grid; grid-template-columns: 1.3fr 1fr; }
.post-featured .post-media { aspect-ratio: auto; min-height: 380px; height: 100%; }
.post-featured .project-body { padding: 44px; justify-content: center; }
.post-featured h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.08; -webkit-line-clamp: 3; line-clamp: 3; }
.post-featured p { font-size: 1.05rem; -webkit-line-clamp: 3; line-clamp: 3; }
.post-featured .meta { margin-top: 12px; }
@media (max-width: 960px) {
  .post-featured .post-card { grid-template-columns: 1fr; }
  .post-featured .post-media { min-height: 0; aspect-ratio: 1.91 / 1; }
  .post-featured .project-body { padding: 26px; }
}
@media (max-width: 680px) {
  .post { padding-top: 130px; }
  .post-cover-wrap { margin-top: 36px; }
  .post-cover { border-radius: var(--radius-sm); }
  .post-body { margin-top: 40px; font-size: 1.05rem; }
  .post-dek { font-size: 1.05rem; }
}
.prose { max-width: 760px; font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; color: #2c4446; }
.prose ul, .prose ol { padding-left: 22px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose li { margin-bottom: 6px; }
.form-title { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-bottom: 6px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: .85rem; }
.info-row a { transition: color var(--hover) var(--ease); }
.info-row a:hover { color: var(--tint); }
.form-note a { color: var(--c1); font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.link-btn:hover { color: #fff; }

/* floating WhatsApp + consent banner */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--c1); color: #fff; box-shadow: var(--shadow); transition: transform var(--hover) var(--ease), background-color var(--hover) var(--ease); }
.wa-float:hover { transform: translateY(-3px); background: var(--c2); }
.wa-float svg { width: 26px; height: 26px; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 14px; }
.consent p { margin: 0; font-size: .95rem; }
.consent a { color: var(--c1); text-decoration: underline; }
.consent div { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.consent .btn { padding: 11px 20px; }
.consent .btn-ghost { color: var(--c4); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: block; }
  .nav.open { border-radius: 26px; flex-wrap: wrap; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; padding: 10px 0 6px;
    max-height: 70vh; overflow-y: auto;
  }
  .nav.open .nav-cta .btn { display: inline-flex; }
  .nav.open .nav-cta { order: 4; width: 100%; padding: 0 6px 8px; }
  .nav.open .nav-cta .btn { width: 100%; justify-content: center; }
  .dropdown-menu { position: static; transform: none; width: 100%; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 0 8px; display: none; opacity: 1; visibility: visible; }
  .dropdown.open .dropdown-menu { display: grid; transform: none; }
  .dropdown:hover .dropdown-menu { transform: none; }
  .grid-3, .projects-feature { grid-template-columns: 1fr 1fr; }
  .why, .split, .spotlight, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-media { aspect-ratio: 16 / 10; }
  .about-media { aspect-ratio: 16 / 10; }
  .process { --cols: 2; }
  .section-head { margin-bottom: 40px; gap: 20px; }
  .section-head p { max-width: 560px; }
  .spotlight-media { min-height: 280px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .dark .stat:nth-child(-n+2) { border-color: var(--line-dark); }
  .glass-card.hero-stat { display: none; }
  .case { grid-template-columns: 1fr; gap: 32px; }
  .case-facts { position: static; }
}
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section.tight { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-bottom { gap: 24px; }
  .stat { padding: 28px 16px; }
  .why-media { aspect-ratio: 4 / 3; }
  .why-item { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .step { padding: 22px 18px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 32px; padding: 0 16px 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .mv { margin-top: 32px; }
  .mv-card { padding: 28px; }
  .footer { padding-top: 64px; margin-top: 72px; }
  .footer-top { gap: 32px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
  .hero { padding: 8px; }
  .hero-inner { border-radius: 24px; min-height: 88vh; padding: 130px 0 40px; }
  .grid-2, .grid-3, .grid-4, .projects-feature, .mv, .feature-list, .form-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child, .footer-top > :last-child { grid-column: 1 / -1; }
  .spotlight-body, .form-card, .info-card { padding: 28px; }
  .cta-band { padding: 64px 24px; border-radius: 24px; }
  .service-card { padding: 28px; min-height: 0; }
  .nav { padding-left: 16px; }
  .brand img { height: 34px; }
  .testimonial { padding: 26px; }
  .testimonial blockquote { font-size: 1.3rem; }
  .project-blocks { margin-top: 32px; }
  .pb-grid { grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
  .pb-grid > :only-child { grid-column: 1 / -1; }
  .prose { font-size: 1rem; }
  .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}
@media (max-width: 400px) {
  .process { --cols: 1; }
}

/* Blog cards: match the 1.91:1 banner images so text isn't cropped. */
.post-media { aspect-ratio: 1.91 / 1; }
/* posts without a cover image get a branded panel, so every card's text starts at the same height */
.post-media-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: linear-gradient(135deg, var(--c1), var(--c5)); color: #fff; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; }
.post-media .badges { top: auto; bottom: 14px; }
/* Keep the whole-card hover lift working after the reveal animation (.reveal.in resets transform). */
.project-card.reveal { transition: opacity .9s ease, transform .6s var(--ease), box-shadow .6s var(--ease); }
.project-card.reveal.in:hover { transform: translateY(-4px); }
