:root {
  --ink: #15201d;
  --muted: #63706b;
  --paper: #f5f2e9;
  --paper-deep: #e9e3d6;
  --white: #fffdf8;
  --line: rgba(21, 32, 29, 0.15);
  --green: #174f40;
  --mint: #b8e2ca;
  --orange: #e96d45;
  --yellow: #f2c95d;
  --blue: #3f66d3;
  --violet: #8d67cf;
  --shadow: 0 24px 70px rgba(40, 49, 45, 0.10);
  --radius-lg: 30px;
  --radius-md: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 87% 6%, rgba(242, 201, 93, 0.24), transparent 23rem),
    radial-gradient(circle at 2% 38%, rgba(184, 226, 202, 0.28), transparent 25rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

.skip-link:focus { top: 1rem; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 242, 233, 0.83);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: .76rem;
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--ink); }

.nav-cta {
  padding: .62rem 1rem;
  color: var(--white) !important;
  background: var(--ink);
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: inherit;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: 5rem 6rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.2rem;
  color: var(--green);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }

h1, .project-hero h1 {
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7.2vw, 7.25rem);
  font-weight: 500;
  line-height: .93;
  letter-spacing: -.065em;
}

.hero h1 em {
  color: var(--orange);
  font-weight: inherit;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #48534f;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--ink); }
.button-secondary { background: rgba(255,255,255,.32); }

.hero-board {
  position: relative;
  min-height: 520px;
  padding: 1.25rem;
  overflow: hidden;
  background: var(--green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.board-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dev-pipeline {
  position: relative;
  margin-top: 1.05rem;
}

.dev-pipeline ol {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .18rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pipeline-rail {
  position: absolute;
  z-index: 0;
  top: 22px;
  bottom: 22px;
  left: 19px;
  width: 2px;
  overflow: hidden;
  background: rgba(255,255,255,.16);
  border-radius: 999px;
}

.pipeline-rail span {
  position: absolute;
  top: 0;
  left: -1px;
  width: 4px;
  height: 25%;
  background: linear-gradient(to bottom, transparent, var(--yellow), var(--orange), transparent);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(242,201,93,.75);
  animation: pipelineTravel 8s ease-in-out infinite;
}

.dev-pipeline li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: .72rem;
  align-items: center;
  min-height: 48px;
  padding: .34rem .5rem .34rem .1rem;
  color: rgba(255,255,255,.58);
  border: 1px solid transparent;
  border-radius: 12px;
  animation: pipelineFocus 8s ease-in-out infinite;
  animation-delay: calc(var(--step) * 1.55s);
}

.flow-index {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--mint);
  background: #123f34;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 10px;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .07em;
}

.dev-pipeline strong,
.dev-pipeline small { display: block; }
.dev-pipeline strong { color: var(--white); font-size: .86rem; }
.dev-pipeline small { margin-top: .05rem; font-size: .67rem; }

.flow-state {
  padding: .22rem .5rem;
  color: var(--mint);
  background: rgba(184,226,202,.1);
  border-radius: 999px;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.review-console {
  position: relative;
  z-index: 2;
  margin-top: .8rem;
  padding: .8rem;
  color: var(--white);
  background: rgba(7,25,21,.82);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 15px;
  box-shadow: 0 16px 34px rgba(5,19,16,.22);
}

.review-console::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  opacity: .75;
}

.review-heading {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.review-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 50%;
  font-size: .62rem;
  font-weight: 900;
}

.review-heading strong,
.review-heading small { display: block; }
.review-heading strong { font-size: .74rem; }
.review-heading small { color: rgba(255,255,255,.52); font-size: .61rem; }

.review-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: .65rem;
  padding: .46rem .58rem;
  background: rgba(255,255,255,.055);
  border-radius: 8px;
  font-size: .62rem;
}

.review-code > span { color: rgba(255,255,255,.48); }
.review-code code { color: #d8f5e4; }
.review-code i { color: var(--mint); font-style: normal; }

.review-badges {
  display: flex;
  gap: .45rem;
  margin-top: .55rem;
}

.review-badges span {
  padding: .2rem .45rem;
  color: var(--mint);
  background: rgba(184,226,202,.09);
  border: 1px solid rgba(184,226,202,.13);
  border-radius: 999px;
  font-size: .59rem;
  font-weight: 800;
  animation: reviewReady 8s ease-in-out infinite;
}

.review-badges span:last-child { animation-delay: 1s; }

@keyframes pipelineTravel {
  0% { transform: translateY(-20%); }
  90%, 100% { transform: translateY(320%); }
}

@keyframes pipelineFocus {
  0%, 15% { color: rgba(255,255,255,.8); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); transform: translateX(3px); }
  22%, 100% { color: rgba(255,255,255,.58); background: transparent; border-color: transparent; transform: none; }
}

@keyframes reviewReady {
  0%, 62% { opacity: .42; }
  72%, 88% { opacity: 1; box-shadow: 0 0 14px rgba(184,226,202,.16); }
  100% { opacity: .42; }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item { padding: 1.6rem 1rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.trust-item span { color: var(--muted); font-size: .82rem; }

.section { padding-block: 7.5rem; }
.section-tight { padding-block: 4.5rem; }
.section-head {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 2rem;
  margin-bottom: 3.2rem;
}

.section-head > * { min-width: 0; }

.section-head h2,
.about-copy h2,
.project-content h2 {
  margin-bottom: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.05em;
}

.section-intro { max-width: 660px; color: var(--muted); font-size: 1.08rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  position: relative;
  min-height: 265px;
  padding: 2rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(21, 32, 29, .09);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 45px rgba(43, 52, 48, .055);
}

.service-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 170px;
  height: 170px;
  background: var(--mint);
  border-radius: 50%;
  opacity: .35;
}

.service-number {
  display: inline-block;
  margin-bottom: 2.4rem;
  color: var(--green);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.service-card h3 {
  margin-bottom: .65rem;
  font-family: Georgia, serif;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -.035em;
}

.service-card p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .94rem;
}

.service-statement {
  display: grid;
  grid-template-columns: minmax(170px, .35fr) 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 1.6rem 2rem;
  color: var(--green);
  background: var(--mint);
  border-radius: var(--radius-md);
}

.service-statement strong {
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.service-statement span { font-size: .94rem; }

.frontier {
  color: var(--white);
  background: var(--green);
}

.frontier .eyebrow { color: var(--mint); }

.frontier-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  margin-bottom: 3.5rem;
}

.frontier-head h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}

.frontier-head > p {
  margin-bottom: 0;
  color: rgba(255,255,255,.7);
}

.frontier-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.frontier-step { padding: 2rem; }
.frontier-step + .frontier-step { border-left: 1px solid rgba(255,255,255,.22); }
.frontier-step.is-current { background: rgba(184, 226, 202, .1); }
.frontier-step span { color: var(--mint); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.frontier-step strong { display: block; margin: .8rem 0 .55rem; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.frontier-step p { margin-bottom: 0; color: rgba(255,255,255,.62); font-size: .88rem; }
.frontier-step.is-current p { color: rgba(255,255,255,.78); }
.frontier-close { max-width: 900px; margin: 2.5rem 0 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.project-card {
  grid-column: span 6;
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(21, 32, 29, .08);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 45px rgba(43, 52, 48, .07);
}

.project-card:nth-child(3n + 1) { grid-column: span 7; }
.project-card:nth-child(3n + 2) { grid-column: span 5; }

.featured-products .project-card,
.featured-products .project-card:nth-child(3n + 1),
.featured-products .project-card:nth-child(3n + 2) { grid-column: span 4; }

.tools-grid .project-card,
.tools-grid .project-card:nth-child(3n + 1),
.tools-grid .project-card:nth-child(3n + 2) { grid-column: span 6; }

.business-projects .project-card:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 340px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}

.business-projects .project-card:nth-child(3) .card-visual { height: 100%; }

.product-subsection {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 2rem;
  align-items: end;
  margin: 6.5rem 0 2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.product-subsection .eyebrow { margin-bottom: .75rem; }

.product-subsection h3 {
  max-width: 620px;
  margin-bottom: 0;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.product-subsection > p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.personal-head { margin-top: 6.5rem; }

.personal-grid .project-card,
.personal-grid .project-card:nth-child(3n + 1),
.personal-grid .project-card:nth-child(3n + 2) {
  grid-column: 1 / -1;
  min-height: 330px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
}

.personal-grid .card-visual { height: 100%; }

.card-visual {
  position: relative;
  height: 225px;
  padding: 0;
  overflow: hidden;
}

.card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms ease;
}

.project-card:hover .card-visual img { transform: scale(1.025); }
.card-visual.image-left img { object-position: left top; }

.visual-ankerklar { background: #cfe8ed; }
.visual-wind { background: #bed9f1; }
.visual-movies { background: #e9d6ca; }
.visual-zen { background: #d8e8d3; }
.visual-growthy { background: #f0d985; }
.visual-travel { background: #dfc1a5; }
.visual-iversity { background: #d9d2ee; }
.visual-mobile { background: #c9ded8; }

.visual-window {
  position: absolute;
  inset: 2.2rem 2rem -1.8rem;
  padding: .9rem;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(21,32,29,.16);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 20px 45px rgba(40,50,45,.18);
  transform: rotate(-2deg);
}

.window-bar { height: 8px; width: 42%; margin-bottom: .9rem; background: var(--ink); border-radius: 5px; opacity: .82; }
.window-line { height: 8px; margin: .55rem 0; background: rgba(21,32,29,.13); border-radius: 5px; }
.window-line.short { width: 64%; }
.window-pills { display: flex; gap: .4rem; margin-top: 1rem; }
.window-pills i { width: 25%; height: 44px; border-radius: 9px; background: var(--orange); opacity: .84; }
.window-pills i:nth-child(2) { background: var(--yellow); }
.window-pills i:nth-child(3) { background: var(--blue); }

.visual-number {
  position: absolute;
  right: 1rem;
  bottom: -2.2rem;
  color: rgba(21,32,29,.12);
  font-family: Georgia, serif;
  font-size: 10rem;
  line-height: 1;
}

.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.6rem 1.7rem 1.7rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.tag { color: var(--muted); font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.status { padding: .3rem .65rem; background: var(--paper); border-radius: 999px; font-size: .7rem; font-weight: 800; }
.status-live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .35rem; background: #35a76f; border-radius: 50%; }
.status-complete::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .35rem; background: #7c8782; border-radius: 50%; }
.project-card h3 { margin-bottom: .7rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; letter-spacing: -.035em; }
.project-card p { color: var(--muted); font-size: .93rem; }
.card-links { display: flex; gap: 1rem; margin-top: auto; }
.text-link { text-decoration: none; font-size: .82rem; font-weight: 850; }
.text-link::after { content: " ↗"; }
.text-link.internal::after { content: " →"; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.work-card { padding: 2rem; background: rgba(255,255,255,.42); border: 1px solid var(--line); border-radius: var(--radius-md); }
.work-card h3 { margin-bottom: .5rem; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.work-card p { color: var(--muted); }

.experience {
  color: var(--white);
  background: var(--ink);
}

.experience .eyebrow { color: var(--mint); }
.experience .section-intro { color: rgba(255,255,255,.64); }
.timeline { border-top: 1px solid rgba(255,255,255,.18); }
.timeline-item {
  display: grid;
  grid-template-columns: 170px 1fr minmax(220px, .55fr);
  gap: 2rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.timeline-date { color: var(--mint); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.timeline-role { font-family: Georgia, serif; font-size: 1.45rem; }
.timeline-detail { color: rgba(255,255,255,.6); font-size: .86rem; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.about-copy p { max-width: 650px; color: var(--muted); font-size: 1.07rem; }
.principles { display: grid; gap: 1rem; }
.principle { padding: 1.35rem; background: var(--white); border-radius: var(--radius-md); }
.principle strong { display: block; margin-bottom: .35rem; }
.principle span { color: var(--muted); font-size: .88rem; }

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--white);
  background: var(--orange);
  border-radius: var(--radius-lg);
}
.contact-card::after { content: "GF"; position: absolute; right: -1rem; bottom: -5.6rem; color: rgba(255,255,255,.13); font-family: Georgia, serif; font-size: 16rem; line-height: 1; }
.contact-card h2 { position: relative; z-index: 1; max-width: 820px; margin-bottom: 1.6rem; font-family: Georgia, serif; font-size: clamp(2.6rem, 6vw, 5.7rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.contact-card .button { position: relative; z-index: 1; color: var(--white); border-color: var(--white); }

.site-footer { padding-block: 2.5rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: .8rem; }
.social-links, .footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.social-links a, .footer-links a { text-decoration: none; font-weight: 750; }
.social-links a:hover, .footer-links a:hover { color: var(--ink); }

.legal-page { min-height: 70vh; padding-block: clamp(4rem, 9vw, 8rem); }
.legal-page > h1 { max-width: 900px; margin-bottom: 3rem; font-size: clamp(4rem, 9vw, 8rem); }
.legal-copy { max-width: 780px; color: var(--muted); font-size: 1rem; }
.legal-copy h2 { margin: 2.4rem 0 .65rem; color: var(--ink); font-size: 1.2rem; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy a { color: var(--green); font-weight: 750; }
.legal-updated { margin-top: 2.5rem; font-size: .85rem; }

/* Project pages */
.project-page { background: var(--paper); }
.project-hero { padding-block: 5rem 4rem; }
.project-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: end; }
.project-hero h1 { font-size: clamp(4rem, 8vw, 7.5rem); }
.project-lead { max-width: 690px; color: var(--muted); font-size: 1.2rem; }
.project-meta-list { display: grid; gap: 1rem; padding: 1.4rem; background: var(--white); border-radius: var(--radius-md); }
.project-meta-row { display: grid; grid-template-columns: 95px 1fr; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); font-size: .88rem; }
.project-meta-row:last-child { padding-bottom: 0; border-bottom: 0; }
.project-meta-row span:first-child { color: var(--muted); }
.project-banner { min-height: 390px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-lg); }
.project-banner > img { display: block; width: 100%; height: 390px; object-fit: cover; object-position: center top; }
.archive-banner { position: relative; }
.archive-banner figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: .55rem .75rem;
  color: rgba(255,255,255,.88);
  background: rgba(21,32,29,.82);
  border-radius: 10px;
  font-size: .72rem;
}
.archive-video { padding-top: 5rem; }
.archive-video-head {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 2rem;
}
.archive-video-head h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
}
.archive-video-head > p { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #2d606c;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 55px rgba(43,52,48,.12);
}
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(21,32,29,.68));
  transition: background 220ms ease;
}
.video-poster:hover::after { background: linear-gradient(180deg, transparent 30%, rgba(21,32,29,.78)); }
.video-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.video-poster:hover img { transform: scale(1.015); }
.video-action {
  position: absolute;
  z-index: 1;
  left: clamp(1.2rem, 4vw, 3rem);
  bottom: clamp(1.2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}
.video-action b { display: grid; width: 64px; height: 64px; place-items: center; color: var(--ink); background: var(--white); border-radius: 50%; font-size: 1.2rem; }
.video-action span { font-size: 1.05rem; font-weight: 850; }
.video-action small { display: block; margin-top: .22rem; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 650; }
.video-source { display: flex; justify-content: space-between; gap: 1rem; margin-top: .85rem; color: var(--muted); font-size: .75rem; }
.video-source a { color: var(--ink); font-weight: 800; text-decoration: none; }
.video-source a:hover { text-decoration: underline; text-underline-offset: 3px; }
.video-credit { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }
.video-credit a { color: var(--ink); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.project-banner .visual-window { position: relative; inset: auto; width: min(76%, 760px); height: 300px; transform: rotate(-1.5deg); }
.project-content { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; padding-block: 6rem; }
.project-content h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.project-prose { max-width: 720px; }
.project-prose p { color: var(--muted); }
.project-prose h3 { margin: 2rem 0 .6rem; font-size: 1.1rem; }
.project-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
.fact { padding: 1.25rem; background: var(--white); border-radius: 16px; }
.fact strong { display: block; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 500; }
.fact span { color: var(--muted); font-size: .78rem; }
.project-next { padding: 3rem 0 6rem; }
.next-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; color: var(--white); background: var(--green); border-radius: var(--radius-md); text-decoration: none; }
.next-card span { color: rgba(255,255,255,.64); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.next-card strong { display: block; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.notice { padding: 1rem 1.15rem; color: #693919; background: #f5dfbd; border-radius: 14px; font-size: .88rem; }
.project-status-note { max-width: 690px; margin-top: 1.5rem; }

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 520ms ease, transform 520ms ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 920px) {
  .hero, .project-hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-board { min-height: 440px; transform: none; }
  .section-head, .project-content { grid-template-columns: 1fr; gap: 1.4rem; }
  .archive-video-head { grid-template-columns: 1fr; gap: 1.4rem; }
  .project-content { gap: 2rem; }
  .project-card, .project-card:nth-child(3n + 1), .project-card:nth-child(3n + 2) { grid-column: span 6; }
  .featured-products .project-card,
  .featured-products .project-card:nth-child(3n + 1),
  .featured-products .project-card:nth-child(3n + 2) { grid-column: span 6; }
  .featured-products .project-card:nth-child(3) { grid-column: 1 / -1; }
  .timeline-item { grid-template-columns: 130px 1fr; }
  .timeline-detail { grid-column: 2; }
  .frontier-head { grid-template-columns: 1fr; gap: 1.4rem; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .menu-button { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: .7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { padding: .75rem; }
  .nav-cta { text-align: center; }
  .hero { padding-block: 3rem 4rem; }
  h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero-board { min-height: 520px; }
  .board-top { font-size: .61rem; }
  .dev-pipeline li { gap: .55rem; }
  .dev-pipeline small { font-size: .63rem; }
  .flow-state { font-size: .55rem; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-block: 5rem; }
  .service-grid, .frontier-track { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-number { margin-bottom: 1.4rem; }
  .service-statement { grid-template-columns: 1fr; gap: .55rem; }
  .frontier-step { padding: 1.5rem 0; }
  .frontier-step + .frontier-step { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .frontier-step.is-current { margin-inline: -14px; padding-inline: 14px; }
  .project-card, .project-card:nth-child(3n + 1), .project-card:nth-child(3n + 2) { grid-column: 1 / -1; }
  .featured-products .project-card,
  .featured-products .project-card:nth-child(3n + 1),
  .featured-products .project-card:nth-child(3n + 2),
  .tools-grid .project-card,
  .tools-grid .project-card:nth-child(3n + 1),
  .tools-grid .project-card:nth-child(3n + 2) { grid-column: 1 / -1; }
  .product-subsection { grid-template-columns: 1fr; gap: .75rem; margin-top: 5rem; }
  .personal-grid .project-card,
  .personal-grid .project-card:nth-child(3n + 1),
  .personal-grid .project-card:nth-child(3n + 2) { display: flex; grid-column: 1 / -1; }
  .business-projects .project-card:nth-child(3) { display: flex; grid-column: 1 / -1; }
  .business-projects .project-card:nth-child(3) .card-visual { height: 225px; }
  .personal-grid .card-visual { height: 225px; }
  .project-card { min-height: 430px; }
  .work-grid, .project-facts { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: .4rem; }
  .timeline-detail { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .project-hero { padding-top: 3rem; }
  .project-banner { min-height: 270px; }
  .project-banner .visual-window { height: 220px; }
  .archive-video { padding-top: 4rem; }
  .video-action b { width: 52px; height: 52px; }
  .video-source { align-items: flex-start; flex-direction: column; }
  .next-card { align-items: flex-start; flex-direction: column; }
}
