:root {
  --ink: #07110f;
  --ink-soft: #0d1c19;
  --paper: #f6f0df;
  --muted: #c8c5b8;
  --gold: #d6b66f;
  --gold-bright: #f1d899;
  --green: #2e7465;
  --line: rgba(246, 240, 223, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --page: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 6%, rgba(46, 116, 101, 0.2), transparent 34rem),
    radial-gradient(circle at 90% 45%, rgba(214, 182, 111, 0.09), transparent 30rem),
    var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: repeating-linear-gradient(120deg, transparent 0 46px, rgba(255, 255, 255, 0.025) 47px, transparent 48px);
}

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

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }
.shell { width: var(--page); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(7, 17, 15, 0.95), rgba(7, 17, 15, 0.75));
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.brand img {
  width: 43px;
  height: 43px;
  border: 1px solid rgba(241, 216, 153, 0.4);
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover { color: var(--paper); }

.nav-links .nav-cta {
  padding: 9px 15px;
  border: 1px solid rgba(214, 182, 111, 0.42);
  border-radius: 999px;
  color: var(--gold-bright);
}

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 94px);
  padding-block: clamp(64px, 10vw, 126px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(3.3rem, 7.4vw, 7.2rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: -0.052em;
}

h1 em { color: var(--gold-bright); font-weight: 500; }

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 720;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 182, 111, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold-bright);
  color: #172019;
}

.play-mark {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.hero-art { position: relative; min-height: 590px; }

.landscape-card {
  position: absolute;
  inset: 7% 0 0 2%;
  overflow: hidden;
  border: 1px solid rgba(241, 216, 153, 0.26);
  border-radius: 42% 42% 26px 26px / 28% 28% 26px 26px;
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}

.landscape-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 13, 0.05) 25%, rgba(5, 12, 13, 0.82) 100%);
}

.landscape-card img { width: 100%; height: 100%; object-fit: cover; }

.art-caption {
  position: absolute;
  right: 28px;
  bottom: 26px;
  left: 28px;
  z-index: 1;
}

.art-caption strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.art-caption span {
  color: rgba(246, 240, 223, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-chip {
  position: absolute;
  bottom: 0;
  left: -20px;
  z-index: 3;
  max-width: 245px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 17, 15, 0.88);
  color: var(--muted);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  font-size: 0.88rem;
}

.detail-chip b {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-bright);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section { padding-block: clamp(76px, 11vw, 140px); }
.section-rule { border-top: 1px solid var(--line); }

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4.7rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1.04rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  grid-column: span 4;
  min-height: 280px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(25, 57, 49, 0.7), rgba(11, 27, 23, 0.7));
}

.feature-card.wide { grid-column: span 8; }

.feature-card::after {
  content: attr(data-number);
  position: absolute;
  right: 20px;
  bottom: -28px;
  color: rgba(241, 216, 153, 0.055);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9rem;
  line-height: 1;
}

.feature-card .label {
  color: var(--gold-bright);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin: 54px 0 12px;
  font-size: 1.8rem;
  font-weight: 500;
}

.feature-card p { position: relative; z-index: 1; max-width: 520px; margin: 0; color: var(--muted); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(23, 57, 47, 0.86), rgba(9, 24, 20, 0.94));
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.26);
}

.project-image {
  position: relative;
  height: 410px;
  overflow: hidden;
  background: #10241f;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 17, 15, 0.54));
  pointer-events: none;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-card:hover .project-image img { transform: scale(1.025); }
.project-image.landscape img { object-position: center; }
.project-image.portrait img { object-position: center 48%; }

.project-copy { padding: clamp(24px, 4vw, 38px); }

.project-type {
  display: block;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 15px 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
}

.project-copy p {
  min-height: 78px;
  margin: 0;
  color: var(--muted);
}

.project-copy .actions,
.project-copy .button { margin-top: 24px; }

.manifesto {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(214, 182, 111, 0.25);
  border-radius: 32px;
  background: radial-gradient(circle at 84% 16%, rgba(214, 182, 111, 0.12), transparent 24rem), linear-gradient(140deg, #17392f, #0c1d19 65%);
  box-shadow: var(--shadow);
}

.manifesto h2 { margin: 0; font-size: clamp(2.35rem, 5vw, 5rem); font-weight: 500; line-height: 1; }
.manifesto-copy > p { margin: 0 0 26px; color: var(--muted); }
.principle-list { display: grid; gap: 14px; }

.principle {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.principle > span { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }
.principle strong { display: block; margin-bottom: 3px; }
.principle p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(32px, 5vw, 56px);
  border-block: 1px solid var(--line);
}

.contact-band h2 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 500; }
.contact-band p { margin: 0; color: var(--muted); }

.site-footer { padding-block: 36px 48px; color: rgba(246, 240, 223, 0.62); font-size: 0.84rem; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--paper); }

.legal-page .site-header { position: relative; }

.legal-hero {
  padding-block: clamp(58px, 9vw, 108px) 48px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6.7rem); }
.legal-meta { margin-top: 24px; color: var(--muted); }

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
  padding-block: 58px 110px;
}

.legal-aside {
  position: sticky;
  top: 110px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-aside strong { display: block; margin-bottom: 8px; color: var(--gold-bright); }
.legal-aside a { color: var(--paper); }

.legal-content h2 {
  margin: 58px 0 14px;
  color: var(--paper);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
}

.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 28px 0 10px; font-size: 1.18rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul, .legal-content ol { padding-left: 1.25rem; }
.legal-content li { margin-bottom: 10px; }
.legal-content a { color: var(--gold-bright); text-underline-offset: 3px; }

.notice {
  margin: 32px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: rgba(214, 182, 111, 0.08);
  color: var(--muted);
}

.steps { counter-reset: deletion-step; display: grid; gap: 14px; padding: 0; list-style: none; }

.steps li {
  counter-increment: deletion-step;
  position: relative;
  min-height: 56px;
  padding: 15px 18px 15px 66px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.steps li::before {
  content: counter(deletion-step);
  position: absolute;
  top: 13px;
  left: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 760;
}

.error-page { min-height: 100svh; display: grid; place-items: center; padding: 30px; text-align: center; }

.error-card {
  max-width: 660px;
  padding: clamp(34px, 7vw, 70px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(13, 32, 28, 0.78);
  box-shadow: var(--shadow);
}

.error-card img { width: 92px; margin: 0 auto 24px; border-radius: 24px; }
.error-card h1 { font-size: clamp(3rem, 10vw, 6rem); }
.error-card p { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: min(620px, 80vw); }
  .section-heading, .manifesto, .legal-layout { grid-template-columns: 1fr; }
  .feature-card, .feature-card.wide { grid-column: span 6; }
  .project-grid { grid-template-columns: 1fr; }
  .project-image { height: min(620px, 75vw); }
  .legal-aside { position: static; }
}

@media (max-width: 640px) {
  :root { --page: min(100% - 28px, 1180px); }
  .nav { min-height: 68px; }
  .brand span { display: none; }
  .nav-links { gap: 13px; font-size: 0.78rem; }
  .nav-links a:nth-child(2) { display: none; }
  .hero { min-height: auto; padding-top: 58px; }
  h1 { font-size: clamp(3.15rem, 17vw, 5rem); }
  .hero-art { min-height: 450px; }
  .landscape-card { inset: 5% 0 0; border-radius: 130px 130px 22px 22px; }
  .detail-chip { left: 10px; max-width: 220px; }
  .art-caption { right: 18px; bottom: 24px; left: 18px; }
  .section-heading { gap: 20px; }
  .feature-card, .feature-card.wide { grid-column: 1 / -1; min-height: 240px; }
  .project-image { height: 410px; }
  .project-copy p { min-height: 0; }
  .contact-band, .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

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