/* ==========================================================================
   ROKVI — design system
   Palette / type / spacing tokens derived from the reference visual language
   ========================================================================== */

:root {
  --bg: #f9f9f9;
  --surface: #ffffff;
  --ink: #000000;
  --dark: #222222;
  --accent: #a9d6e5;
  --accent-strong: #8ec7da;
  --accent-ink: #06222c;
  --muted: #5d5d5d;
  --line: rgba(0, 0, 0, 0.12);
  --line-strong: rgba(0, 0, 0, 0.24);
  --line-dark: rgba(255, 255, 255, 0.16);
  --container: 1440px;
  --pad: clamp(20px, 5.2vw, 72px);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid #0b6c8a; outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- typography ---------- */

.subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.subtitle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}
.subtitle--light { color: #fff; }
.subtitle--light::before { background: #fff; }

.display {
  font-size: clamp(30px, 3.7vw, 52px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.prose { white-space: pre-line; }
.prose p { margin-bottom: 1.1em; }

/* ---------- buttons ---------- */

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-pill-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.24s var(--ease), border-color 0.24s var(--ease), color 0.24s var(--ease);
}
.btn-pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex: none;
  transition: background-color 0.24s var(--ease), transform 0.3s var(--ease);
}
.btn-pill-icon svg { width: 15px; height: 15px; }
.btn-pill:hover .btn-pill-text { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-pill:hover .btn-pill-icon { background: var(--accent-strong); transform: rotate(45deg); }

.btn-pill--dark .btn-pill-text { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-pill--dark .btn-pill-icon { background: var(--ink); color: #fff; }
.btn-pill--dark:hover .btn-pill-text { background: #333; border-color: #333; }
.btn-pill--dark:hover .btn-pill-icon { background: #333; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.text-link:hover { border-color: var(--ink); gap: 12px; }

/* ---------- header / navigation ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.brand {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  flex: none;
}
.nav-panel { flex: 1 1 auto; }
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 40px);
}
.nav-list > li { position: relative; }
.nav-list a,
.nav-drop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink);
  transition: opacity 0.2s var(--ease);
}
.nav-list a:hover,
.nav-drop:hover { opacity: 0.6; }
.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.24s var(--ease);
}
.nav-item.is-open .nav-caret { transform: rotate(225deg) translateY(-2px); }

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 95;
}
.nav-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
}
.nav-menu a:hover { background: #f1f1f1; opacity: 1; }
.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu,
.nav-item.is-open .nav-menu { display: block; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  padding: 0;
  place-items: center;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  margin: 3px auto;
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
.nav-mobile-cta { display: none; }

/* ---------- shared section rhythm ---------- */

.section { padding-block: clamp(56px, 7.4vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 3.4vw, 52px);
}
.section-head__title { max-width: 20ch; }
.section-head__aside { max-width: 34ch; color: var(--muted); font-size: 15px; }

/* ---------- hero ---------- */

.hero { padding-block: clamp(32px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.78fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
}
.hero-left { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 4vw, 72px); }
.hero-title {
  margin-top: 22px;
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 1.14;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  max-width: 15ch;
}
.hero-cta { margin-top: 28px; }
.hero-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.hero-copy { color: var(--muted); font-size: 15px; line-height: 1.6; }
.hero-list { border-left: 1px solid var(--line); padding-left: clamp(16px, 2vw, 28px); }
.hero-list li + li { margin-top: 10px; }
.hero-list div {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero-media { min-height: 320px; }
.hero-img {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 46vw, 640px);
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(249, 249, 249, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(249, 249, 249, 0)); }
.marquee-label {
  display: flex;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee-item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.about-img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-body > * + * { margin-top: 20px; }
.about-body .lead + .lead { font-size: 16px; color: var(--muted); }

/* ---------- work cards ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.work-card { display: block; }
.work-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ececec;
}
.work-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-thumb img { transform: scale(1.035); }
.work-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.work-arrow svg { width: 16px; height: 16px; }
.work-card:hover .work-arrow,
.work-card:focus-visible .work-arrow { opacity: 1; transform: translateY(0); }
.work-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}
.work-meta h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; }
.work-tags { display: flex; gap: 8px; color: var(--muted); font-size: 13px; flex: none; }
.work-tags span + span::before { content: "·"; margin-right: 8px; }

/* ---------- dark services band ---------- */

.dark-band { background: var(--dark); color: #fff; }
.dark-band .display { max-width: 20ch; }
.dark-band .muted { color: rgba(255, 255, 255, 0.62); }

.service-rows { margin-top: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line-dark); }
.service-row { border-bottom: 1px solid var(--line-dark); }
.service-row a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
  gap: 20px;
  align-items: center;
  padding-block: clamp(18px, 2vw, 26px);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.service-row a:hover { transform: translateX(8px); }
.service-row .idx { font-size: 12px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.1em; }
.service-row .name { font-size: clamp(20px, 2.3vw, 32px); font-weight: 600; letter-spacing: -0.02em; }
.service-row .desc { font-size: 14px; color: rgba(255, 255, 255, 0.66); line-height: 1.5; }
.service-row .arw { justify-self: end; color: rgba(255, 255, 255, 0.7); }
.service-row .arw svg { width: 18px; height: 18px; }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 40px);
}
.stat__num { font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat__label { margin-top: 10px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- quotes ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote p { font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; }
.quote footer { font-size: 13px; color: var(--muted); }
.quote footer strong { display: block; color: var(--ink); font-size: 14px; }

/* ---------- journal ---------- */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.post-card { display: flex; flex-direction: column; gap: 14px; }
.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.6s var(--ease);
}
.post-card:hover img { transform: scale(1.03); }
.post-card .post-thumb { overflow: hidden; border-radius: var(--radius-md); }
.post-meta { display: flex; gap: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.post-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.post-card p { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- CTA band ---------- */

.cta-band { border-top: 1px solid var(--line); }
.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner .display { max-width: 18ch; }
.cta-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- footer ---------- */

.footer { background: var(--dark); color: #fff; padding-block: clamp(40px, 5vw, 72px) 24px; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer-brand .brand { font-size: clamp(40px, 6vw, 76px); color: #fff; }
.footer-brand p { color: rgba(255, 255, 255, 0.66); font-size: 15px; margin-top: 16px; max-width: 30ch; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col li + li { margin-top: 9px; }
.footer-col a,
.footer-col span { font-size: 14px; color: rgba(255, 255, 255, 0.86); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-note { max-width: 62ch; }

/* ---------- inner page header ---------- */

.page-head { padding-block: clamp(40px, 5.4vw, 76px) clamp(28px, 3.4vw, 48px); }
.page-head .display { margin-top: 18px; max-width: 22ch; }
.page-head__sub { margin-top: 20px; max-width: 62ch; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6; }

/* ---------- detail layouts ---------- */

.detail-hero { padding-block: clamp(32px, 4vw, 56px) 0; }
.detail-hero .display { margin-top: 16px; max-width: 24ch; }
.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.detail-hero__meta strong { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }
.detail-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-top: clamp(24px, 3vw, 44px);
}
.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.detail-body__side { position: sticky; top: 96px; }
.detail-body__side dl { margin: 0; }
.detail-body__side dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 18px;
}
.detail-body__side dd { margin: 4px 0 0; font-size: 15px; }
.detail-prose { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; white-space: pre-line; }
.detail-prose strong { font-weight: 600; }
.bullet-list { display: grid; gap: 10px; }
.bullet-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.bullet-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong); margin-top: 8px; flex: none; }
.line-list {
  white-space: pre-line;
  line-height: 2;
  font-size: 15px;
  border-left: 1px solid var(--line-strong);
  padding-left: 18px;
}

.notfound { text-align: center; padding-block: clamp(60px, 8vw, 120px); }
.notfound .display { margin-inline: auto; }

/* ---------- lists (works / services / careers / blog) ---------- */

.list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.list-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.svc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.svc-card h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; }
.svc-card p { color: var(--muted); font-size: 15px; }
.svc-card .svc-foot { margin-top: auto; padding-top: 12px; }

.job-list { border-top: 1px solid var(--line); }
.job-row { border-bottom: 1px solid var(--line); }
.job-row a {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.7fr) 40px;
  gap: 18px;
  align-items: center;
  padding-block: clamp(18px, 2.2vw, 28px);
  transition: transform 0.3s var(--ease);
}
.job-row a:hover { transform: translateX(8px); }
.job-row h3 { font-size: clamp(18px, 1.9vw, 24px); font-weight: 600; }
.job-row .job-dept { font-size: 14px; color: var(--muted); }
.job-row .job-loc { font-size: 14px; color: var(--muted); }
.job-row .arw { justify-self: end; }
.job-row .arw svg { width: 18px; height: 18px; }

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan--feature { background: var(--dark); color: #fff; border-color: var(--dark); }
.plan--feature .plan__price small,
.plan--feature .plan__desc,
.plan--feature li { color: rgba(255, 255, 255, 0.72); }
.plan--feature .bullet-list li { border-bottom-color: rgba(255, 255, 255, 0.16); }
.plan__price { font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan__price small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan__desc { font-size: 15px; color: var(--muted); }
.plan .bullet-list { margin-top: 4px; }
.plan__cta { margin-top: auto; padding-top: 8px; }
.plan-tag {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 100px;
  padding: 5px 12px;
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(16px, 2vw, 24px);
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  flex: none;
  transition: transform 0.24s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq-answer { padding-bottom: 24px; max-width: 70ch; color: var(--muted); font-size: 16px; line-height: 1.62; white-space: pre-line; }
.faq-group-title { margin-bottom: 14px; margin-top: clamp(28px, 3vw, 44px); }

/* ---------- forms ---------- */

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field select {
  padding-inline-end: 42px;
  background-color: var(--surface);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #0b6c8a;
  box-shadow: 0 0 0 3px rgba(11, 108, 138, 0.14);
}
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.field--check label { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); font-weight: 400; line-height: 1.5; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-status { grid-column: 1 / -1; font-size: 14px; border-radius: var(--radius-sm); padding: 0; }
.form-status:not(:empty) { padding: 14px 16px; }
.form-status[data-state="success"] { background: #e6f4ec; color: #125c33; border: 1px solid #bfe3cd; }
.form-status[data-state="error"] { background: #fdecec; color: #8a1f1f; border: 1px solid #f3cccc; }
.form-note { font-size: 13px; color: var(--muted); }

.contact-aside { display: flex; flex-direction: column; gap: 22px; }
.contact-block { border-top: 1px solid var(--line); padding-top: 18px; }
.contact-block h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.contact-block a { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.015em; }
.contact-block p { font-size: 15px; color: var(--muted); }

/* ---------- studio ---------- */

.studio-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.studio-split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.value { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.value h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.value p { font-size: 15px; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); }
.team-card h3 { margin-top: 12px; font-size: 16px; font-weight: 600; }
.team-card p { font-size: 13px; color: var(--muted); }

/* ---------- reveal motion ---------- */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-img { min-height: 340px; aspect-ratio: 16 / 10; }
  .hero-left { gap: 36px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .quotes, .journal-grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-body { grid-template-columns: minmax(0, 1fr); }
  .detail-body__side { position: static; }
  .form-wrap { grid-template-columns: minmax(0, 1fr); }
  .studio-split { grid-template-columns: minmax(0, 1fr); }
  .studio-split img { aspect-ratio: 16 / 10; }
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav-actions { display: none; }
  .nav-panel {
    position: fixed;
    inset: 68px 0 0;
    background: var(--bg);
    padding: 20px var(--pad) 48px;
    overflow-y: auto;
    display: none;
    border-top: 1px solid var(--line);
  }
  .nav-open .nav-panel { display: block; }
  .nav-open { overflow: hidden; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a,
  .nav-drop {
    width: 100%;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 15px;
    letter-spacing: 0.04em;
  }
  .nav-menu {
    position: static;
    transform: none;
    display: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 10px 0;
    background: none;
    min-width: 0;
  }
  .nav-item.is-open .nav-menu { display: block; }
  .nav-item:hover .nav-menu { display: none; }
  .nav-item.is-open:hover .nav-menu { display: block; }
  .nav-menu a { padding: 10px 0 10px 14px; font-size: 13px; }
  .nav-mobile-cta { display: block; margin-top: 24px; }
  .nav-mobile-cta .btn-pill-text { width: 100%; }

  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid, .list-grid, .list-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-row a { grid-template-columns: minmax(0, 1fr) 28px; }
  .service-row .desc { display: none; }
  .job-row a { grid-template-columns: minmax(0, 1fr) 28px; gap: 8px; }
  .job-row .job-dept, .job-row .job-loc { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero-bottom { grid-template-columns: minmax(0, 1fr); }
  .hero-list { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 14px; }
  .quotes, .journal-grid, .plans { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand { font-size: 24px; }
  .detail-image { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
  .hero-img, .about-img { border-radius: var(--radius-md); }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
