/* Eyüb Diler — architect portfolio */

:root {
  --bg: #f4f1eb;
  --bg-elevated: #fffcf7;
  --bg-warm: #ebe6dd;
  --ink: #141312;
  --ink-muted: #5a5753;
  --line: rgba(20, 19, 18, 0.1);
  --line-strong: rgba(20, 19, 18, 0.18);
  --accent: #9a6b2d;
  --accent-dark: #6d4a1f;
  --accent-soft: rgba(154, 107, 45, 0.14);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;
  --space-3xl: 7rem;
  --radius: 3px;
  --radius-lg: 6px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 20px 50px rgba(20, 19, 18, 0.08);
  --shadow-card: 0 12px 40px rgba(20, 19, 18, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.875rem;
}

.skip-link:focus {
  left: 0.5rem;
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.container.narrow {
  width: min(680px, 100% - 2.5rem);
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(244, 241, 235, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 1px 0 rgba(20, 19, 18, 0.04);
}

.header-inner {
  height: 100%;
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.85;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--bg-elevated);
  background: var(--ink);
  border-radius: var(--radius);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  z-index: 60;
}

.nav-toggle:focus-visible {
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform 0.35s var(--ease);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--ink);
}

.nav-cta {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink) !important;
  background: var(--bg-elevated);
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--ink);
  background: var(--bg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--space-lg)) 0 var(--space-xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 85% 15%, rgba(154, 107, 45, 0.09), transparent 50%),
    radial-gradient(ellipse 50% 45% at 5% 90%, rgba(20, 19, 18, 0.05), transparent 45%),
    linear-gradient(165deg, var(--bg) 0%, #e8e3da 55%, var(--bg-warm) 100%);
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23141312' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: var(--space-2xl);
  }
}

.hero-copy {
  max-width: 36rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8.5vw, 5.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
}

.hero-lead {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin-bottom: var(--space-lg);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-metrics {
  display: grid;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}

@media (min-width: 520px) {
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-metric-val {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.hero-metric-label {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual-frame {
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 0;
}

.hero-visual-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 960px) {
  .hero-visual-img {
    height: min(72vh, 640px);
  }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 2.25rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.65rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg-elevated);
  border-color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #2a2826;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ink);
  background: rgba(255, 252, 247, 0.5);
}

.btn-light {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: rgba(255, 252, 247, 0.35);
  width: 100%;
  margin-top: 0.25rem;
}

.btn-light:hover,
.btn-light:focus-visible {
  background: #fff;
}

/* Sections */
.section {
  padding: var(--space-3xl) 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: var(--space-lg);
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
}

.section-head {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.section-intro {
  color: var(--ink-muted);
  font-weight: 300;
  max-width: 30rem;
  justify-self: end;
}

/* About */
.about {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-wrap {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 880px) {
  .about-wrap {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    gap: var(--space-2xl);
    align-items: center;
  }
}

.about-photo {
  margin: 0;
}

.about-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.about-copy .section-title {
  margin-bottom: var(--space-md);
}

.about-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 560px) {
  .about-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-lg);
  }
}

.about-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.48;
  font-weight: 500;
}

.about-text {
  color: var(--ink-muted);
  font-weight: 300;
  font-size: 1rem;
}

.about-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.about-pillars li {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-muted);
}

/* Services */
.services {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}

.services-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  height: 100%;
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.service-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-md);
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.55;
}

/* Projects bento */
.projects {
  background: var(--bg-elevated);
}

.project-bento {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 900px) {
  .project-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .project-bento-featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .project-bento-item:not(.project-bento-featured) {
    min-height: 0;
  }
}

.project-card {
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.project-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}

.project-card--large .project-card-media {
  aspect-ratio: 16 / 11;
}

@media (min-width: 900px) {
  .project-card--large {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .project-card--large .project-card-media {
    flex: 1;
    min-height: 280px;
    aspect-ratio: auto;
  }

  .project-card--large .project-card-media img {
    min-height: 100%;
  }
}

.project-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.project-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd8d0;
}

.project-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 19, 18, 0.25), transparent 42%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.project-card:hover .project-card-media::after {
  opacity: 1;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}

.project-card:hover .project-card-media img {
  transform: scale(1.05);
}

.project-card-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  flex: 0;
}

.project-card-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin-top: 0.35rem;
}

.project-card--large .project-card-title {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.project-card-meta {
  margin-top: 0.2rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.project-card-excerpt {
  margin-top: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* Approach */
.approach {
  background: var(--bg);
}

.approach-inner {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 880px) {
  .approach-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: var(--space-2xl);
    align-items: start;
  }
}

.approach-intro .section-title {
  margin-bottom: var(--space-sm);
}

.approach-deck {
  color: var(--ink-muted);
  font-weight: 300;
  max-width: 28rem;
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.approach-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--line);
}

.approach-list li:first-child {
  padding-top: 0;
}

.approach-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.approach-step {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.approach-list h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.approach-list p {
  color: var(--ink-muted);
  font-weight: 300;
  font-size: 0.9375rem;
}

/* Quote */
.quote {
  padding: var(--space-2xl) 0;
  background: var(--ink);
  color: var(--bg-elevated);
}

.quote-block {
  margin: 0;
  text-align: center;
}

.quote-block p {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 252, 247, 0.92);
}

.quote-block p::before {
  content: "“";
}

.quote-block p::after {
  content: "”";
}

.quote-block footer {
  margin-top: var(--space-md);
  font-size: 0.8125rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.45);
}

/* Contact */
.contact {
  padding: var(--space-3xl) 0;
}

.contact-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-inner {
  display: grid;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background: linear-gradient(145deg, #1c1a18 0%, #141312 50%, #1a1714 100%);
  color: var(--bg);
}

@media (min-width: 880px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl);
    align-items: start;
  }
}

.contact .section-label {
  color: rgba(255, 252, 247, 0.5);
}

.contact .section-title {
  color: var(--bg-elevated);
  margin-bottom: var(--space-sm);
}

.contact-lead {
  color: rgba(255, 252, 247, 0.72);
  font-weight: 300;
  max-width: 28rem;
  margin-bottom: var(--space-lg);
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-chip {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 252, 247, 0.06);
  border: 1px solid rgba(255, 252, 247, 0.1);
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-chip:hover,
.contact-chip:focus-visible {
  background: rgba(255, 252, 247, 0.1);
  border-color: rgba(255, 252, 247, 0.2);
}

.contact-chip-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.45);
}

.contact-chip-val {
  font-size: 1rem;
  font-weight: 400;
  color: var(--bg-elevated);
}

.contact-note {
  font-size: 0.8125rem;
  color: rgba(255, 252, 247, 0.45);
}

.contact-chip--wa {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
}

.contact-chip--wa:hover,
.contact-chip--wa:focus-visible {
  border-color: rgba(37, 211, 102, 0.55);
  background: rgba(37, 211, 102, 0.14);
}

.contact-chip--wa .contact-chip-label {
  color: rgba(180, 255, 210, 0.75);
}

/* Floating WhatsApp */
.wa-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 48;
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(20, 19, 18, 0.22);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.3s;
}

.wa-fab:hover,
.wa-fab:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 14px 36px rgba(20, 19, 18, 0.28);
}

body.nav-open .wa-fab {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.social-link--wa:hover,
.social-link--wa:focus-visible {
  color: #128c7e;
  border-color: rgba(18, 140, 126, 0.35);
}

/* Form */
.contact-form {
  padding: var(--space-lg);
  background: rgba(255, 252, 247, 0.04);
  border: 1px solid rgba(255, 252, 247, 0.1);
  border-radius: var(--radius-lg);
}

.form-row {
  margin-bottom: var(--space-md);
}

.form-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.55);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 252, 247, 0.15);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #999;
}

.form-row input:focus-visible,
.form-row textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154, 107, 45, 0.35);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  min-height: 1.25rem;
  font-size: 0.8125rem;
  margin-bottom: var(--space-sm);
  color: #c9e8c0;
}

.form-hint.is-error {
  color: #ffb4a4;
}

.form-disclaimer {
  margin-top: var(--space-md);
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 252, 247, 0.4);
}

/* Footer */
.site-footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: start;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.footer-logo .logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.625rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 300;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-social-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.65rem;
}

.social-list {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--bg);
}

.footer-bottom {
  padding-top: var(--space-md);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(255, 252, 247, 0.97);
    backdrop-filter: blur(12px);
    padding: var(--space-xl) var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s var(--ease), opacity 0.35s var(--ease), visibility 0.35s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .site-nav a {
    font-size: 1.35rem;
  }

  .site-nav a::after {
    bottom: -6px;
  }

  .nav-cta {
    margin-top: var(--space-sm);
  }

  .hero-scroll {
    display: none;
  }

  .hero-visual-img {
    height: min(42vh, 360px);
  }
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
