@font-face { font-family: "Young Serif"; src: url("/fonts/young-serif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ground: #1d1a1f;       /* dusk, dark ground */
  --surface: #2a2230;      /* Crépuscule */
  --ink: #f3ede4;
  --muted: #c2b9c4;
  --amber: #e0953a;        /* Ambre: actions only */
  --amber-ink: #1d1a1f;
  --water: #6f86a0;        /* Eau */
  --m: clamp(20px, 5vw, 72px);
  --display: "Young Serif", Georgia, serif;
  --text: "Instrument Sans", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem)/1.6 var(--text); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

.bar { position: absolute; inset: 0 0 auto 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--m); }
.bar .mark img { height: 44px; width: auto; }
.btn { display: inline-flex; align-items: center; background: var(--amber); color: var(--amber-ink); text-decoration: none; font-weight: 600; padding: 13px 24px; border-radius: 999px; transition: transform .2s, background-color .2s; }
.btn:hover { color: var(--amber-ink); background: #eba553; transform: translateY(-2px); }

/* hero: the painting is the room, the words sit in it */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: 140px var(--m) clamp(56px, 9vh, 110px); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; z-index: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: brightness(.62) saturate(.9); animation: drift 30s ease-in-out infinite alternate; }
.hero .copy { position: relative; z-index: 1; max-width: 1180px; }
.hero h1 { margin: 0 0 18px; font: 400 clamp(2.6rem, 0.9rem + 5.4vw, 6.4rem)/1 var(--display); letter-spacing: -0.01em; max-width: 17ch; }
.hero p { margin: 0 0 34px; font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem); max-width: 30em; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.08); } }

/* what we do */
.work { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(96px, 12vw, 180px) var(--m); }
.work img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 88%; filter: brightness(.85); }
.work h2, .contact h2 { margin: 0 0 18px; font: 400 clamp(2rem, 1.2rem + 2.6vw, 3.4rem)/1.05 var(--display); }
.work p { margin: 0 0 14px; color: var(--muted); max-width: 32em; }
.work p strong { color: var(--ink); font-weight: 600; }

/* contact */
.contact { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 200px) var(--m); text-align: left; }
.contact .bg { position: absolute; inset: 0; }
.contact .bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); }
.contact .copy { position: relative; }
.contact .mail { display: inline-block; font: 400 clamp(1.9rem, 0.8rem + 4.6vw, 5.4rem)/1.05 var(--display); text-decoration: none; margin-top: 8px; overflow-wrap: anywhere; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 28px var(--m) 34px; color: var(--muted); font-size: 0.9rem; }
.foot a { color: var(--muted); }

/* text pages */
.page .bar { position: static; }
.doc { padding: 24px var(--m) 110px; max-width: 780px; }
.doc h1 { font: 400 clamp(2.4rem, 1.4rem + 3vw, 3.6rem)/1.05 var(--display); margin: 0 0 12px; }
.doc h2 { font-weight: 600; font-size: 1.2rem; margin: 34px 0 6px; }
.doc p, .doc dd { margin: 0; }
.doc dl { margin: 28px 0 0; }
.doc dt { font-weight: 600; margin-top: 20px; }
.doc dd, .doc .date { color: var(--muted); }

@media (max-width: 760px) {
  .bar .mark img { height: 32px; }
  .bar .btn { padding: 10px 18px; }
  .work { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) { .hero .bg img { animation: none; } .btn { transition: none; } }
