/* ===== Tokens – change these to re-brand the whole site ===== */
:root {
  --table: #ECEFF1;   /* light-table background */
  --paper: #FAFAF9;   /* print white */
  --ink:   #14181C;   /* text and contact-sheet black */
  --fixer: #6B757E;   /* secondary grey */
  --cyan:  #1F4E79;   /* cyanotype blue – links, hover, focus */
  --line:  #CFD5DA;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--table); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1rem; max-width: 62ch; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: var(--paper); padding: .5rem 1rem; }

/* Placeholder tone shown until a real photo loads */
.ph { margin: 0; position: relative; overflow: hidden; background: linear-gradient(135deg, #B7C3CB, #8796A2); }
*:nth-child(3n+2) > .ph { background: linear-gradient(160deg, #C9D0D5, #98A5AF); }
*:nth-child(3n+3) > .ph { background: linear-gradient(120deg, #A9B8C4, #6F8394); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Header ===== */
header.site { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--table) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.brand { font: 700 1.25rem var(--display); text-decoration: none; letter-spacing: -0.01em; }
nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
nav a { text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--cyan); }
.menu-btn { display: none; font: inherit; font-weight: 600; background: none; border: 2px solid var(--ink); padding: .35rem .9rem; cursor: pointer; }

/* ===== Hero ===== */
.hero { padding-block: clamp(3rem, 8vw, 6rem) 3rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1; max-width: 14ch; margin-bottom: 1.5rem; }
.hero p { font-size: 1.2rem; color: #36404A; }
.btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.btn { display: inline-block; padding: .85rem 1.6rem; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); font: 600 1rem var(--body); text-decoration: none; cursor: pointer; }
.btn.alt { background: transparent; color: var(--ink); }
.btn:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; }

/* Contact sheet – the one distinctive moment: frames "develop" on load */
.sheet { list-style: none; margin: 3.5rem 0 0; padding: 1rem 1rem 1.25rem; background: var(--ink); display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.sheet li { animation: develop 1.4s ease-out both; animation-delay: calc(var(--i) * 180ms + 200ms); }
.sheet figure { aspect-ratio: 3 / 2; }
.sheet .n { display: block; padding-top: .4rem; color: #9AA5AE; font-size: .8rem; font-variant-numeric: tabular-nums; }
@keyframes develop { from { opacity: 0; filter: brightness(0) blur(4px); } to { opacity: 1; filter: none; } }

/* ===== Sections ===== */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.lead { color: var(--fixer); font-size: 1.15rem; margin-bottom: 2.5rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { text-decoration: none; }
.card figure { aspect-ratio: 4 / 5; margin-bottom: 1rem; }
.card img { transition: transform .5s ease; }
.card:hover img { transform: scale(1.03); }
.card h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.card:hover h3 { color: var(--cyan); }
.card p { color: var(--fixer); margin: 0; }

.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.portrait { aspect-ratio: 4 / 5; }
.facts { margin: 2rem 0 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--fixer); }
.facts dd { margin: 0; font-weight: 600; }

.services { list-style: none; margin: 2rem 0 0; padding: 0; }
.services li { display: grid; grid-template-columns: 1fr 2fr auto; gap: 1.5rem; align-items: baseline; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services h3 { font-size: 1.4rem; }
.services p { margin: 0; color: #36404A; }
.price { font-weight: 600; white-space: nowrap; }

.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); }
.contact a { color: var(--cyan); }
form { display: grid; gap: 1.1rem; }
label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
input, select, textarea { font: 400 1rem var(--body); padding: .75rem .9rem; background: var(--paper); border: 1px solid var(--fixer); border-radius: 0; color: var(--ink); width: 100%; }
form .btn { justify-self: start; }

footer.site { padding-block: 2rem; border-top: 1px solid var(--line); color: var(--fixer); font-size: .9rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .sheet { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .about, .contact { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .services li { grid-template-columns: 1fr; gap: .4rem; }
  .menu-btn { display: block; }
  nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--table); border-bottom: 1px solid var(--line); display: none; }
  nav[data-open] { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; }
  nav a { display: block; padding: .6rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet li { animation: none; }
  .card img { transition: none; }
}
