/* FNDN — quiet, editorial, material-honest studio */
:root {
  --paper: #f3f0ea;
  --paper-2: #ece8df;
  --ink: #211d19;
  --muted: #6f675d;
  --line: rgba(33, 29, 25, 0.14);
  --accent: #8a5a44;      /* restrained clay — used sparingly (machine/mark) */
  --header-h: 72px;
  --sans: "Archivo", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2 { margin: 0; font-weight: 400; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, figure { margin: 0; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  background: rgba(243, 240, 234, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(var(--max), 92%);
  margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 26px;
}
.brand {
  font-weight: 600; letter-spacing: 0.32em; font-size: 0.95rem;
  margin-right: auto;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 0.88rem; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.lang {
  background: none; border: 0; cursor: pointer;
  font: 500 0.8rem var(--sans);
  letter-spacing: 0.08em; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px;
}

/* typographic helpers */
.kicker, .sec-no, .figlabel {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}

/* opening */
.opening {
  width: min(var(--max), 92%);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) 0 clamp(48px, 8vh, 90px);
}
.opening .kicker { margin-bottom: 26px; }
.opening h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5.4vw, 4.1rem);
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: -0.01em;
  max-width: 17ch;
}
.opening .lede {
  margin-top: 28px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.12rem;
}
.plate {
  margin-top: clamp(44px, 8vh, 80px);
  border: 1px solid var(--line);
  background: var(--paper-2);
  min-height: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.opening .plate { aspect-ratio: 16 / 9; margin-top: clamp(44px, 8vh, 80px); }
.plate .figlabel, .figcell .figlabel {
  background: rgba(252, 249, 244, 0.82);
  padding: 5px 10px;
  border-radius: 2px;
}
.plate-wide { grid-column: 1 / -1; }
.plate .figlabel { position: absolute; top: 14px; left: 16px; }

/* selected-work figure strip */
.figstrip {
  width: min(var(--max), 92%);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 90px) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
  border-top: 1px solid var(--line);
}
.figcell {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
}
.figcell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.figcell .figlabel { position: absolute; top: 12px; left: 14px; }

/* sections */
.section {
  width: min(var(--max), 92%);
  margin: 0 auto;
  padding: clamp(56px, 10vh, 110px) 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(20px, 4vw, 60px);
  border-top: 1px solid var(--line);
}
.section-tint .sec-body .method-line { color: var(--ink); }
.sec-no { padding-top: 10px; }
.sec-body { max-width: 62ch; }
.sec-body h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.18;
  margin-bottom: 22px;
}
.sec-body > p { color: var(--muted); margin-bottom: 14px; }
.method-line {
  font-size: 1.05rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink) !important;
}
.method-line:last-child { border-bottom: 0; }
.figrow { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 14px; }

.link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  color: var(--ink);
}
.link:hover { color: var(--accent); }

/* contact / identity */
.contact .email { font-size: 1.15rem; margin-bottom: 8px; }
.contact .email a { border-bottom: 1px solid var(--line); }
.contact .email a:hover { color: var(--accent); border-color: var(--accent); }
.identity {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid; gap: 3px;
  color: var(--muted);
  font-style: normal;
}
.identity .id-name { color: var(--ink); font-weight: 500; font-family: var(--serif); font-size: 1.1rem; }
.identity .id-domain { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.82rem; margin-top: 6px; }
.identity .id-ig a { color: var(--ink); font-size: 0.9rem; border-bottom: 1px solid var(--line); }
.identity .id-ig a:hover { color: var(--accent); }

/* footer */
.site-footer {
  width: min(var(--max), 92%);
  margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .section { grid-template-columns: 1fr; }
  .sec-no { display: none; }
  .figstrip { grid-template-columns: 1fr; }
}
