:root {
  --bg-900: #2a2925;
  --bg-800: #36342f;
  --bg-700: #4a4841;
  --bg-600: #625f55;
  --bg-500: #7d796c;
  --cream: #f3efe6;
  --cream-2: #e8e2d4;
  --ink: #1f1e1b;
  --ink-soft: #55524a;
  --text: #f5f2eb;
  --text-muted: #cbc5b7;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.18);
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

em {
  font-style: italic;
  font-weight: 800;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
}

:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons & pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem 0.55rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-icon {
  transform: rotate(-45deg);
}

.btn-dark {
  background: var(--bg-900);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-dark .btn-icon {
  background: var(--cream);
  color: var(--ink);
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
}

.btn-cream .btn-icon {
  background: var(--ink);
  color: var(--cream);
}

.btn-glass {
  background: var(--glass);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 1.3rem;
}

.btn-glass:hover {
  background: var(--glass-strong);
}

.btn-block {
  width: 100%;
  justify-content: space-between;
}

.pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pill-light {
  background: rgba(255, 255, 255, 0.12);
}

.link-underline {
  position: relative;
  font-weight: 500;
  font-size: 0.92rem;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.link-underline:hover::after {
  transform: scaleX(0);
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1.1rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
  padding: 0.7rem 0;
  background: rgba(42, 41, 37, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  position: relative;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: translateX(-50%);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.7rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 2.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 30% 35%, rgba(170, 164, 146, 0.55), transparent 70%),
    radial-gradient(ellipse 60% 70% at 80% 60%, rgba(40, 39, 35, 0.9), transparent 70%),
    linear-gradient(160deg, var(--bg-500) 0%, var(--bg-600) 35%, var(--bg-700) 65%, var(--bg-800) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-shape {
  position: absolute;
  top: 20%;
  right: 44%;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 55%);
  opacity: 0.7;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.hero-copy {
  max-width: 560px;
}

.hero-title {
  margin: 1.4rem 0 1.4rem;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.hero-sub {
  max-width: 440px;
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 520px;
}

.portrait {
  position: absolute;
  inset: -2rem -4rem -3rem 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
  filter: saturate(0.85) contrast(1.05);
}

.portrait-fallback {
  display: none;
}

.portrait.no-photo .portrait-fallback {
  display: grid;
  place-items: start center;
  padding-top: 14%;
  width: min(420px, 90%);
  aspect-ratio: 4 / 5;
  margin-bottom: 3rem;
  border-radius: 200px 200px 40px 40px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 55%),
    linear-gradient(170deg, var(--bg-600), var(--bg-900));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.portrait.no-photo ~ .card-top {
  bottom: 24%;
}

.portrait-fallback span {
  line-height: 1;
  font-size: clamp(5rem, 12vw, 9rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(245, 242, 235, 0.85);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 230px;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text);
  box-shadow: var(--shadow);
}

.float-card p {
  margin: 0;
  color: var(--text-muted);
}

.float-card strong {
  color: var(--text);
}

.card-top {
  right: 0;
  bottom: 30%;
  animation: bob 6s ease-in-out infinite;
}

.card-bottom {
  right: 18%;
  bottom: 4%;
  animation: bob 7s ease-in-out infinite reverse;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--bg-700);
  background: linear-gradient(135deg, #d9c9a8, #8f7d5d);
}

.avatars span + span {
  margin-left: -9px;
  background: linear-gradient(135deg, #c7b8a2, #6b5d4b);
}

.avatars span:last-child {
  background: linear-gradient(135deg, #efe2c8, #a48f6c);
}

.star {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.trust {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
}

.trust-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.8;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.6rem;
}

.trust-logos li {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0.6;
  transition: opacity 0.3s var(--ease);
}

.trust-logos li:hover {
  opacity: 1;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.section.light {
  background: var(--cream);
  color: var(--ink);
}

.section.cream {
  background: var(--cream-2);
  color: var(--ink);
}

.section.dark {
  background: linear-gradient(180deg, var(--bg-800), var(--bg-900));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-lead {
  font-size: 1.05rem;
  opacity: 0.75;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-card {
  position: relative;
  padding: 2.5rem 2.2rem;
  border-radius: var(--radius-lg);
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(160deg, var(--bg-600), var(--bg-900));
  box-shadow: var(--shadow);
}

.about-quote-mark {
  display: block;
  font-size: 5rem;
  line-height: 0.6;
  font-style: italic;
  font-weight: 800;
  opacity: 0.4;
}

.about-quote {
  margin: 1rem 0 1.4rem;
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.about-quote-by {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.facts {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.6rem;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(31, 30, 27, 0.12);
  font-weight: 600;
  font-size: 0.95rem;
}

.facts span,
.skills-label {
  font-weight: 400;
  color: var(--ink-soft);
}

.skills {
  margin-top: 1.6rem;
}

.skills-label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.skills ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills li {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 30, 27, 0.18);
  font-size: 0.82rem;
  font-weight: 500;
}

.about-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-copy strong {
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(31, 30, 27, 0.12);
}

.stats strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.stats > div > span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service {
  padding: 2rem 1.8rem;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.service:hover {
  transform: translateY(-6px);
  background: var(--glass-strong);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.service p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ---------- Studio ---------- */

.studio-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  color: var(--text);
  background:
    radial-gradient(ellipse at 20% 20%, rgba(170, 164, 146, 0.45), transparent 60%),
    linear-gradient(150deg, var(--bg-600), var(--bg-900));
  box-shadow: var(--shadow);
}

.studio-title {
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.studio-copy p {
  max-width: 440px;
  margin-bottom: 1.8rem;
  color: var(--text-muted);
}

.reel-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.45), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 40px),
    linear-gradient(135deg, #8d8674, #3b3933 70%);
}

.reel-frame::before,
.reel-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12%;
  background: #111;
}

.reel-frame::before {
  top: 0;
}

.reel-frame::after {
  bottom: 0;
}

.play {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--text);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.work-card h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.work-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.work-thumb {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  padding: 1.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: transform 0.5s var(--ease);
}

.work-card:hover .work-thumb {
  transform: scale(0.98);
}

.work-thumb.t1 {
  background: radial-gradient(circle at 70% 30%, #b6ab90, transparent 60%), linear-gradient(160deg, #5f5a4d, #25241f);
}

.work-thumb.t2 {
  background: radial-gradient(circle at 30% 30%, #d3c3a7, transparent 55%), linear-gradient(200deg, #6f6553, #2b2823);
}

.work-thumb.t3 {
  background: radial-gradient(circle at 60% 70%, #a59f8c, transparent 60%), linear-gradient(140deg, #494740, #1e1d1a);
}

/* ---------- Experience ---------- */

.exp-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.sticky-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.education {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(31, 30, 27, 0.08);
}

.edu-item {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0;
}

.edu-item + .edu-item {
  border-top: 1px solid rgba(31, 30, 27, 0.1);
}

.edu-item strong {
  font-size: 0.98rem;
}

.edu-item span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(31, 30, 27, 0.2);
}

.timeline > li {
  position: relative;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(31, 30, 27, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.timeline > li:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 40px rgba(31, 30, 27, 0.08);
}

.timeline > li::before {
  content: "";
  position: absolute;
  left: calc(-2rem + 1px);
  top: 2rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px var(--cream-2);
}

.tl-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.74rem;
  font-weight: 600;
}

.timeline h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.tl-org {
  margin: 0.25rem 0 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.timeline p:last-child {
  margin: 0;
}

.timeline li p,
.timeline li ul {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.timeline li ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
}

.timeline li ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-soft);
}

/* ---------- Writing ---------- */

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.post {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 240px;
  padding: 1.8rem;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.post:hover {
  transform: translateY(-6px);
  background: var(--glass-strong);
}

.post-meta {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.post h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.post-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 15% 30%, rgba(170, 164, 146, 0.4), transparent 70%),
    linear-gradient(160deg, var(--bg-600), var(--bg-900));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.contact-title {
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.contact-list {
  margin-top: 2rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
}

.contact-list span {
  color: var(--text-muted);
  font-weight: 400;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.field select option {
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cream);
  background: rgba(0, 0, 0, 0.28);
}

.field.invalid input,
.field.invalid textarea {
  border-color: #e7a38f;
}

.form-status {
  margin: 1rem 0 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 1.8rem 0;
  background: var(--bg-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

/* ---------- Reveal animation ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .services-grid,
  .posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    gap: 1.2rem;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 72px 1.25rem auto;
    flex-direction: column;
    gap: 0;
    padding: 0.8rem;
    border-radius: var(--radius);
    background: rgba(42, 41, 37, 0.95);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-grid,
  .about-grid,
  .studio-banner,
  .exp-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .portrait {
    inset: 0;
  }

  .hero-shape {
    display: none;
  }

  .sticky-head {
    position: static;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid,
  .posts,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .card-top {
    right: 0;
    bottom: 36%;
  }

  .card-bottom {
    right: auto;
    left: 0;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .contact-list li {
    grid-template-columns: 80px 1fr;
  }

  .timeline {
    padding-left: 1.4rem;
  }

  .timeline > li {
    padding: 1.3rem 1.2rem;
  }

  .timeline > li::before {
    left: calc(-1.4rem + 1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
