/* Verified Web Studio — styles */

:root {
  --bg: #F5F3EE;
  --bg-2: #EFECE4;
  --fg: #111111;
  --muted: #8A8A87;
  --line: #E4E0D6;

  --plate-sand: #E8DCC7;
  --plate-mist: #DDE1E0;
  --plate-olive: #D6DAC8;
  --plate-slate: #C6CBD3;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --font-display: 'Geist', 'Inter', system-ui, sans-serif;
  --font-body: 'Geist', 'General Sans', 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 600ms;

  --radius-plate: 24px;
  --radius-tile: 16px;
}

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

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; }

::selection { background: var(--fg); color: var(--bg); }

/* ---------- micro type ---------- */

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

.section-head { margin-bottom: clamp(48px, 6vw, 96px); }

/* ---------- links ---------- */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 260ms var(--ease), gap 260ms var(--ease);
}
.link-arrow span { transition: transform 260ms var(--ease); display: inline-block; }
.link-arrow:hover { border-color: var(--fg); gap: 12px; }
.link-arrow:hover span { transform: translateX(2px); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  background: rgba(245, 243, 238, 0.75);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 260ms var(--ease);
}
.nav[data-scrolled="true"] { border-bottom-color: var(--line); }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav__mark { width: 26px; height: 26px; }

.nav__links {
  display: inline-flex;
  gap: clamp(18px, 3vw, 36px);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

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

.hero {
  padding: clamp(80px, 12vh, 160px) var(--gutter) clamp(80px, 10vh, 140px);
  max-width: var(--max);
  margin: 0 auto;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9.5vw, 148px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 8px 0 32px;
  max-width: 14ch;
}
.hero__sub {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 52ch;
  color: var(--fg);
  margin: 0 0 44px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
}

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

.work {
  padding: clamp(60px, 8vw, 140px) var(--gutter) clamp(80px, 10vw, 160px);
  max-width: var(--max);
  margin: 0 auto;
}

.project {
  padding: clamp(48px, 8vw, 120px) 0 0;
}
.project + .project { border-top: none; }

.project__media {
  display: block;
  border-radius: var(--radius-plate);
  overflow: hidden;
  cursor: pointer;
}
.project__plate {
  position: relative;
  padding: clamp(28px, 5vw, 80px);
  border-radius: var(--radius-plate);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 700ms var(--ease);
}
.project__media:hover .project__plate { transform: scale(1.012); }

.project__plate--sand  { background: var(--plate-sand); }
.project__plate--mist  { background: var(--plate-mist); }
.project__plate--olive { background: var(--plate-olive); }
.project__plate--slate { background: var(--plate-slate); }

.project__meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px 40px;
  align-items: end;
  padding: 28px 4px 0;
}
.project__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 8px;
}
.project__tagline {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--muted);
  margin: 0;
}
.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.project__tags span { position: relative; }
.project__tags span + span::before {
  content: '·';
  margin-right: 14px;
  color: var(--muted);
  opacity: 0.6;
}

@media (max-width: 820px) {
  .project__meta { grid-template-columns: 1fr; }
  .project__tags span + span::before { display: none; }
}

/* ---------- mockup (CSS-only inside project plates) ---------- */

.mockup {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.28), 0 8px 20px -12px rgba(0,0,0,.12);
  overflow: hidden;
  transform: translateY(0);
}
.mockup__chrome {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #f2f0eb;
  border-bottom: 1px solid #e6e3dc;
}
.mockup__chrome span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d5d1c6;
}
.mockup__chrome span:nth-child(1) { background: #e6b3a6; }
.mockup__chrome span:nth-child(2) { background: #e6d3a1; }
.mockup__chrome span:nth-child(3) { background: #b8c7a3; }

.mockup__body {
  padding: clamp(20px, 4vw, 48px);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 28px);
}
.mockup__body--sand  { background: #FAF5EA; color: #3a3226; }
.mockup__body--mist  { background: #F4F6F5; color: #2a3230; }
.mockup__body--olive { background: #EEF1E3; color: #2f3826; }
.mockup__body--slate { background: #EEF1F5; color: #1e2632; }

.mockup__hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 32ch;
}
.mockup__hero--left { align-items: flex-start; }
.mockup__hero--split {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  gap: 24px;
}
.mockup__eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 500;
}
.mockup__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.mockup__cta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.75;
}

.mockup__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mockup__card {
  aspect-ratio: 4/5;
  border-radius: 8px;
  background: rgba(0,0,0,.08);
}
.mockup__body--sand .mockup__card { background: #EBD9B5; }

.mockup__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.mockup__bar {
  height: 14px;
  border-radius: 4px;
  background: rgba(0,0,0,.10);
}
.mockup__body--mist .mockup__bar { background: #CED4D3; }
.mockup__bar--w80 { width: 80%; }
.mockup__bar--w70 { width: 70%; }
.mockup__bar--w60 { width: 60%; }

.mockup__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mockup__col {
  aspect-ratio: 3/5;
  border-radius: 6px;
  background: rgba(0,0,0,.08);
}
.mockup__body--slate .mockup__col { background: #D1D7DF; }
.mockup__body--slate .mockup__col:nth-child(1) { height: 90%; align-self: end; }
.mockup__body--slate .mockup__col:nth-child(2) { height: 70%; align-self: end; }
.mockup__body--slate .mockup__col:nth-child(3) { height: 100%; align-self: end; }
.mockup__body--slate .mockup__col:nth-child(4) { height: 55%; align-self: end; }

.mockup__thumb {
  width: 40%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  background: linear-gradient(135deg, #C7CFB4, #A6B490);
}

/* ---------- contact ---------- */

.contact {
  padding: clamp(100px, 14vw, 200px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.contact__pitch {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 84px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 48px;
  max-width: 18ch;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: baseline;
  justify-content: space-between;
}
.contact__email {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 4px;
  transition: opacity 260ms var(--ease);
}
.contact__email:hover { opacity: 0.6; }
.contact__note {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

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

.footer {
  padding: clamp(60px, 8vw, 120px) var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.footer__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 720px) {
  .footer__row { grid-template-columns: 1fr; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, auto));
  gap: 48px;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer__col a {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color 260ms var(--ease);
}
.footer__col a:hover { border-bottom-color: var(--fg); }

.footer__meta {
  max-width: var(--max);
  margin: clamp(48px, 8vw, 96px) auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.footer__personality { margin: 0; }
.footer__copy { margin: 0; }

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* stagger children under a section-head */
.section-head.is-in .eyebrow { transition-delay: 0ms; }
.section-head.is-in .section-title { transition-delay: 80ms; }

/* ---------- custom cursor ---------- */

.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 90;
  mix-blend-mode: difference;
}
.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform, width, height, opacity;
}
.cursor__dot {
  width: 6px; height: 6px;
  background: #F5F3EE;
  transition: opacity 200ms var(--ease);
}
.cursor__ring {
  width: 30px; height: 30px;
  border: 1px solid #F5F3EE;
  transition: width 300ms var(--ease), height 300ms var(--ease), opacity 200ms var(--ease);
  opacity: 0.9;
}
body.cursor-hover .cursor__ring { width: 52px; height: 52px; }
body.cursor-hover .cursor__dot  { opacity: 0; }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .cursor { display: none; }
}

/* ---------- case study pages ---------- */

.case-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 260ms var(--ease), border-color 260ms var(--ease), gap 260ms var(--ease);
}
.case-nav-back:hover { color: var(--fg); border-color: var(--fg); gap: 12px; }

.nav__brand + .case-nav-back { margin-left: 24px; }

.case-hero {
  padding: clamp(80px, 12vh, 160px) var(--gutter) clamp(48px, 6vw, 96px);
  max-width: var(--max);
  margin: 0 auto;
}
.case-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 28px;
}
.case-hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 128px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 24px;
  max-width: 14ch;
}
.case-hero__tagline {
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.4;
  color: var(--fg);
  margin: 0;
  max-width: 42ch;
}

.case-meta {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) var(--gutter) clamp(48px, 6vw, 96px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 40px;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .case-meta { grid-template-columns: repeat(5, 1fr); }
}
.case-meta__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
}
.case-meta__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.case-meta__value {
  font-size: 15px;
  color: var(--fg);
  line-height: 1.35;
}

.case-plate {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.case-plate .project__plate {
  aspect-ratio: 16 / 9;
}

.case-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--gutter);
}
.case-section--tight { padding-block: clamp(40px, 5vw, 80px); }
.case-section__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 24px;
}
.case-section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 28px;
  max-width: 18ch;
}
.case-section__body {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--fg);
  margin: 0;
  max-width: 62ch;
}
.case-section__body + .case-section__body { margin-top: 20px; }

.case-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 80px);
}
@media (min-width: 900px) {
  .case-steps { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 3vw, 56px); }
}
.case-step__num {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 20px;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.case-step__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.case-step__body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.case-quote {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-quote__text {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 28px;
  max-width: 24ch;
}
.case-quote__attr {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.case-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 32px);
}
@media (min-width: 820px) {
  .case-pair { grid-template-columns: 1fr 1fr; }
}
.case-pair .project__plate { aspect-ratio: 4 / 3; padding: clamp(20px, 3vw, 40px); }
.case-pair .mockup__body { min-height: 180px; padding: clamp(16px, 2.4vw, 28px); }

.case-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 40px;
  margin-top: clamp(40px, 4vw, 60px);
  padding-top: clamp(32px, 3vw, 48px);
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .case-stats { grid-template-columns: repeat(3, 1fr); }
}
.case-stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
}
.case-stat__label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.case-impact {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.case-impact .project__plate { aspect-ratio: 21 / 9; }
@media (max-width: 720px) {
  .case-impact .project__plate { aspect-ratio: 4 / 3; }
}

.case-next {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line);
}
.case-next__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 24px;
}
.case-next__link {
  display: block;
  border-radius: var(--radius-plate);
  overflow: hidden;
}
.case-next__plate {
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--radius-plate);
  aspect-ratio: 21 / 9;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  transition: transform 700ms var(--ease);
}
.case-next__link:hover .case-next__plate { transform: scale(1.012); }
.case-next__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  color: var(--fg);
}
.case-next__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg);
  transition: gap 260ms var(--ease);
}
.case-next__link:hover .case-next__cta { gap: 14px; }
@media (max-width: 720px) {
  .case-next__plate { flex-direction: column; align-items: flex-start; aspect-ratio: 4 / 3; }
}
