@import url("fonts.css");

:root {
  --bg: #f4f1eb;
  --bg-2: #fbfaf7;
  --ink: #1b1a17;
  --ink-soft: #3c3934;
  --muted: #6d675f;
  --line: rgba(27, 26, 23, 0.12);
  --line-strong: rgba(27, 26, 23, 0.22);
  --pine: #1e3530;
  --bronze: #7a6240;
  --header: 4.5rem;
  --max: 76rem;
  --serif: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.page-inner main:not(:has(.page-hero)) { padding-top: var(--header); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-solid,
body.page-inner .site-header {
  background: #f4f1eb;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: block;
  flex: 0 0 auto;
}
.logo img { height: 2.55rem; width: auto; }
.logo .logo-dark { display: none; }
.site-header.is-solid .logo-light,
body.page-inner .site-header .logo-light { display: none; }
.site-header.is-solid .logo-dark,
body.page-inner .site-header .logo-dark { display: block; }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.85rem 1.05rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  white-space: nowrap;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 currentColor;
}

.nav-cta {
  border: 1px solid currentColor;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
}
.nav a.nav-cta[aria-current="page"] { box-shadow: none; }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 1px;
  width: 1.35rem;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #1b1a17;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 17, 15, 0.42) 0%, rgba(18, 17, 15, 0.06) 24%, rgba(18, 17, 15, 0.2) 50%, rgba(18, 17, 15, 0.62) 68%, rgba(18, 17, 15, 0.86) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 6.5rem 0 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bronze);
}

.hero .eyebrow { color: rgba(255, 255, 255, 0.82); }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: 0; line-height: 1.15; }

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.12;
  font-weight: 400;
}

.hero .lead {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1.2rem;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--bg); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--pine); }

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

.section {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: 2.75rem;
}

.section-head h2,
.page-intro h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.section-head p,
.prose p { margin: 0 0 1rem; color: var(--ink-soft); }
.section-head p:last-child,
.prose p:last-child { margin-bottom: 0; }

.intro-band {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}

.intro-grid h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--bg-2);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(27, 26, 23, 0.06); }

.project-card.wide { grid-column: 1 / -1; }
.project-card.wide .card-media { aspect-ratio: 2.35 / 1; }
.project-card.wide .card-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0.75rem 2.5rem;
  align-items: start;
}
.project-card.wide .card-meta { grid-column: 1 / -1; }
.project-card.wide .card-body p { margin: 0; }
.project-card.wide .card-link { justify-self: start; }

.project-card.text-feature {
  min-height: 22rem;
  justify-content: flex-end;
  background:
    linear-gradient(145deg, #f7f4ee 0%, #e4ddd2 100%);
}
.project-card.text-feature .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 44rem;
  padding: 2.4rem 2rem;
}
.project-card.text-feature h3 { font-size: clamp(2.2rem, 4vw, 3.3rem); }

.card-media {
  aspect-ratio: 4 / 3;
  background: #e7e1d8;
  position: relative;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.project-card:hover .card-media img { transform: scale(1.03); }

.card-placeholder {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 1.4rem;
  background:
    linear-gradient(160deg, #ece7df 0%, #d9d3c8 100%);
}
.card-placeholder span {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--pine);
}

.card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-body h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
}
.card-body p { margin: 0; color: var(--ink-soft); }
.card-link {
  margin-top: auto;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink);
  background: transparent;
}
.pill-sold {
  border-color: var(--pine);
  color: var(--pine);
}

.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.approach article {
  background: var(--bg-2);
  padding: 1.6rem 1.45rem 1.7rem;
}
.approach h3 {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
  line-height: 1.15;
}
.approach p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.close-band {
  background: var(--pine);
  color: #f6f3ee;
}
.close-band .section {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
}
.close-band h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  line-height: 1.08;
}
.close-band p { margin: 0; max-width: 38rem; color: rgba(246, 243, 238, 0.84); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
}
.footer-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer strong { font-weight: 500; }
.site-footer p, .site-footer li { color: var(--muted); font-size: 0.95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-base {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.page-intro { padding-top: 4.2rem; padding-bottom: 1rem; }
.page-intro .lead { max-width: 40rem; font-size: 1.15rem; color: var(--ink-soft); }

.page-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #1b1a17;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,17,15,0.18), rgba(18,17,15,0.62));
}
.page-hero .hero-inner { padding-bottom: 3rem; }
.page-hero h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); max-width: 14ch; }
.page-hero .lead {
  max-width: 38rem;
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.page-hero h1 + .lead {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  color: #fff;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 2rem 0 2.4rem;
}
.facts div { background: var(--bg-2); padding: 1.15rem 1.2rem; }
.facts dt {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }

.prose { max-width: 42rem; }
.prose h2 { font-size: 2.2rem; margin: 2.4rem 0 0.8rem; line-height: 1.1; }
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.8rem;
  margin: 2rem 0 1rem;
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:first-child { grid-row: span 2; min-height: 28rem; }
.gallery figcaption, .caption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.pending {
  margin: 1.2rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 2px solid var(--bronze);
  background: rgba(122, 98, 64, 0.06);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.group { margin-bottom: 3.2rem; }
.group h2 { margin: 0 0 1.1rem; font-size: 2rem; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-card p { margin: 0 0 0.35rem; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.address { font-style: normal; }

form { display: grid; gap: 0.95rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; }
label { display: grid; gap: 0.35rem; font-size: 0.88rem; color: var(--ink-soft); }
input, textarea, select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  outline: none;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); }
label.is-invalid { color: #c62828; }
label.is-invalid input,
label.is-invalid textarea,
label.is-invalid select,
label.is-invalid input:focus,
label.is-invalid textarea:focus,
label.is-invalid select:focus {
  border: 2px solid #c62828;
  background: #fdecea;
  box-shadow: 0 0 0 1px #c62828;
}
label.is-invalid input[type="checkbox"] {
  outline: 2px solid #c62828;
  outline-offset: 2px;
}
.field-hint { color: #c62828; font-size: 0.92rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note, .form-ok, .form-err { font-size: 0.95rem; }
.form-ok { color: var(--pine); }
.form-err { color: #7a3030; }
.full { grid-column: 1 / -1; }

.land-invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: center;
  padding: 2.5rem 2.3rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.land-invite h2 { margin: 0.7rem 0 0.8rem; font-size: clamp(2rem, 3vw, 2.8rem); }
.land-invite p { margin: 0; max-width: 40rem; color: var(--ink-soft); }

.opportunities { grid-template-columns: 1fr 1fr; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1.5rem;
}
.steps article { background: var(--bg-2); padding: 1.5rem 1.35rem 1.7rem; }
.steps .num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}
.steps h3 { margin: 0 0 0.65rem; font-size: 1.45rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

#proposition { scroll-margin-top: 5.5rem; }
fieldset {
  border: 0;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}
legend {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
  margin: 0 0 0.15rem;
  padding: 0;
}
label.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  padding: 0;
  accent-color: var(--pine);
  flex: 0 0 auto;
}
input[type="file"] {
  padding: 0.45rem 0;
  background: transparent;
  border: 0;
  font-size: 0.92rem;
}

.legal { max-width: 44rem; }
.legal h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin: 0 0 1rem; }
.legal h2 { font-size: 1.6rem; margin: 2rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.notice {
  padding: 0.9rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.8s ease forwards;
}
.reveal-2 { animation-delay: 0.12s; }
.reveal-3 { animation-delay: 0.22s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .project-card, .card-media img, .site-header, .btn { transition: none; }
  .project-card:hover { transform: none; }
  .project-card:hover .card-media img { transform: none; }
}

@media (max-width: 980px) {
  .section-head,
  .intro-grid,
  .close-band .section,
  .footer-inner,
  .split,
  .land-invite,
  .steps,
  .project-card.wide .card-body,
  .facts,
  .approach { grid-template-columns: 1fr; }
  .project-card.wide .card-meta,
  .project-card.wide h3,
  .project-card.wide .card-body p,
  .project-card.wide .card-link { grid-column: auto; justify-self: start; }
  .approach { gap: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-row: auto; min-height: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.wide { grid-column: auto; }
  .close-band .section { justify-items: start; }
}

@media (max-width: 760px) {
  :root { --header: 4.1rem; }
  .header-inner, .hero-inner, .section, .footer-inner, .footer-base {
    width: min(var(--max), calc(100% - 1.5rem));
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 50; }
  body.nav-open .site-header { color: var(--ink); background: transparent; box-shadow: none; }
  body.nav-open .logo { position: relative; z-index: 50; }
  body.nav-open .logo-light { display: none; }
  body.nav-open .logo-dark { display: block; }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--bg);
    color: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5.5rem 1.75rem 2rem;
    gap: 1.4rem;
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    z-index: 30;
  }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav a { font-size: 1.45rem; font-family: var(--serif); letter-spacing: 0; white-space: normal; }
  .nav a.nav-cta {
    font-family: var(--sans);
    font-size: 1rem;
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 0.7rem 1.05rem;
    margin-top: 0.35rem;
  }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.4rem); }
  .hero-inner { padding-bottom: 2.4rem; }
  .section { padding: 3.4rem 0; }
  .fields { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .logo img { height: 2.15rem; }
  .card-body h3 { font-size: 1.7rem; }
  .page-hero { min-height: 68vh; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .approach { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}
