/* ---------- Reset & tokens ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: oklch(0.975 0.008 85);
  --text: oklch(0.29 0.012 60);
  --accent: oklch(0.83 0.085 74);
  --accent-deep: oklch(0.58 0.14 62);
  --accent-wash: oklch(0.68 0.14 65);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --max-width: 1240px;
  --pad-h: clamp(20px, 5vw, 64px);
  --pad-v: clamp(56px, 8vw, 104px);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--text);
  text-decoration: none;
}

input, textarea, button {
  font-family: var(--font-body);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-h);
  padding-right: var(--pad-h);
}

.amber-section { background: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.975 0.008 85 / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid oklch(0.29 0.012 60 / 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  margin-left: -4px;
  border-radius: 2px;
  transition: background 160ms;
}

.logo-link:hover { background: oklch(0.68 0.14 65 / 0.18); }

.logo-link img { height: 44px; width: 44px; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 40px);
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  transition: color 160ms;
}

.nav-link:hover { color: var(--accent-deep); }

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
}

/* ---------- Shared type ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.29 0.012 60 / 0.6);
}

.page-title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(20px, 2.7vw, 34px);
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-tagline {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.01em;
  color: oklch(0.29 0.012 60 / 0.8);
}

@media (min-width: 640px) {
  .page-tagline--nowrap { white-space: nowrap; }
}

.accent-word {
  position: relative;
  display: inline-block;
}

.accent-word::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.07em;
  background: var(--accent);
}

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  border-radius: 2px;
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
}

.btn-outline {
  font-size: 16px;
  padding: 16px 28px;
  border: 1px solid oklch(0.29 0.012 60 / 0.35);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

.btn-outline--soft {
  font-size: 15px;
  padding: 14px 26px;
  border: 1px solid oklch(0.29 0.012 60 / 0.45);
}

.btn-outline--soft:hover { background: var(--bg); }

.btn-fill {
  font-size: 16px;
  padding: 15px 38px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--text);
}

.btn-fill:hover { background: transparent; }

/* ---------- Landing ---------- */
.hero-image-wrap {
  width: 100%;
  height: clamp(240px, 38vw, 440px);
  overflow: hidden;
  background: var(--text);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.landing-intro {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.subhead {
  margin: 28px 0 0;
  font-style: italic;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.5;
  max-width: 30ch;
  color: oklch(0.29 0.012 60 / 0.82);
  text-wrap: pretty;
}

.amber-block__inner {
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(56px, 8vw, 110px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 64px);
}

.amber-block__inner p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  text-wrap: pretty;
}

.cta-row {
  padding-top: clamp(56px, 8vw, 110px);
  padding-bottom: clamp(56px, 8vw, 110px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-statement {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 22ch;
  text-wrap: pretty;
}

.cta-row .btn { flex: none; }

/* ---------- Page intro (Cases / Sketches / Contact) ---------- */
.page-intro {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 104px);
}

/* ---------- Cases ---------- */
.cases-list { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px); }

.case {
  border-top: 1px solid oklch(0.29 0.012 60 / 0.16);
}

.case:last-child { border-bottom: 1px solid oklch(0.29 0.012 60 / 0.16); }

.case__header {
  display: grid;
  grid-template-columns: minmax(0, clamp(160px, 26%, 290px)) minmax(0, 1fr);
  align-items: stretch;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}

.case__logo-panel {
  background: oklch(1 0 0);
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  display: flex;
  align-items: center;
  padding: 24px 44px 24px 26px;
  min-height: 108px;
}

.case__logo-panel img {
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.case__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2px;
}

.case__tagline {
  margin: 0;
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.4;
  text-wrap: pretty;
}

.case__toggle {
  flex: none;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--accent-deep);
  line-height: 1;
  transition: transform 160ms;
}

.case.is-open .case__toggle { transform: rotate(45deg); }

.case__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding: 8px 0 44px;
}

.case__body[hidden] {
  display: none;
}

.case__label {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.case__text {
  margin: 0 0 22px;
  font-size: 11px;
  line-height: 1.6;
  text-wrap: pretty;
}

.case__text:last-child { margin-bottom: 0; }

.case__link {
  font-family: var(--font-heading);
  font-size: 14px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

@media (max-width: 640px) {
  .case__header { grid-template-columns: 1fr; }
  .case__logo-panel { clip-path: none; min-height: 84px; }
}

/* ---------- Experience ---------- */
.experience-top {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.experience-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
}

.experience-eyebrow--spacer {
  visibility: hidden;
}

.experience-text {
  margin: 0;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.68;
  text-wrap: pretty;
}

.highlights-block { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }

.highlights-eyebrow {
  margin: 0 0 36px;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.29 0.012 60 / 0.6);
}

.highlights-list {
  display: grid;
  gap: 28px;
  max-width: 920px;
}

.highlights-item {
  margin: 0;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.68;
  text-wrap: pretty;
  padding-left: 1.3em;
  text-indent: -1.3em;
}

.highlights-marker {
  display: inline-block;
  width: 1.3em;
}

.highlights-list + .btn { margin-top: 40px; }

.workedwith-block { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }

.workedwith-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.29 0.012 60 / 0.6);
}

.workedwith-sub {
  margin: 0 0 32px;
  font-style: italic;
  font-size: 14px;
  color: oklch(0.29 0.012 60 / 0.8);
}

.tile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.tile {
  padding: 14px 18px;
  border: 1px solid oklch(0.29 0.012 60 / 0.18);
  border-radius: 2px;
  transition: border-color 160ms, background 160ms;
}

.tile:hover {
  background: oklch(0.68 0.14 65 / 0.22);
  border-color: var(--accent);
}

/* ---------- Sketches ---------- */
.sketches-body {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(72px, 10vw, 128px);
  text-align: center;
}

.coming-soon {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.29 0.012 60 / 0.45);
}

/* ---------- Contact ---------- */
.contact-body { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }

.contact-form {
  max-width: 660px;
  display: grid;
  gap: 26px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.29 0.012 60 / 0.6);
}

.form-input,
.form-textarea {
  font-size: 17px;
  padding: 12px 2px;
  border: none;
  border-bottom: 1px solid oklch(0.29 0.012 60 / 0.3);
  background: transparent;
  color: var(--text);
  outline: none;
  transition: border-color 160ms;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus { border-bottom-color: var(--accent); }

.form-textarea { resize: vertical; }

.thank-you {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.hidden { display: none !important; }

.form-error {
  margin: 0;
  font-size: 14px;
  color: oklch(0.5 0.16 30);
}

.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid oklch(0.29 0.012 60 / 0.14);
}

.footer-inner {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-eyebrow {
  margin: 0 0 28px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.29 0.012 60 / 0.55);
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.org-logo-link {
  display: block;
  opacity: 0.72;
  transition: opacity 160ms;
}

.org-logo-link:hover { opacity: 1; }

.org-logo-link img {
  width: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-bottom-row {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid oklch(0.29 0.012 60 / 0.14);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  font-family: var(--font-heading);
  font-size: 13px;
}

.footer-monogram { height: 34px; width: 34px; object-fit: contain; opacity: 0.8; }

.footer-copyright {
  margin: 0;
  text-align: center;
  color: oklch(0.29 0.012 60 / 0.5);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.social-link {
  display: flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 160ms;
}

.social-link:hover { opacity: 1; }

.social-link img { height: 22px; width: 22px; object-fit: contain; }

@media (max-width: 480px) {
  .footer-bottom-row { grid-template-columns: 1fr; text-align: center; gap: 14px; }
  .footer-social { justify-content: center; }
}
