:root {
  --cream: #F4EEE5;
  --ink: #2A1A1E;
  --body: #5A4D45;
  --meta: #6B5E55;
  --taupe: #5E5348;
  --terracotta: #B65A2B;
  --terracotta-light: #C98A62;
  --line: rgba(42, 26, 30, .12);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;

  --page-pad: clamp(24px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { font-family: var(--sans); }

img { display: block; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .25s ease;
}
a:hover, a:focus-visible { color: var(--terracotta); }
a:focus-visible {
  outline: 1px solid var(--terracotta-light);
  outline-offset: 6px;
}

::selection { background: var(--terracotta); color: var(--cream); }

/* Shared label style: 11px / uppercase / .28em */
.nav, .status, .footer {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--meta);
}

/* ---------- Page shell ---------- */

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
  background-image: var(--grain);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 32px var(--page-pad);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand__mark { height: 44px; width: auto; }
.brand__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav__contact {
  border-bottom: 1px solid var(--terracotta-light);
  padding-bottom: 3px;
}

.divider {
  height: 1px;
  margin: 0 var(--page-pad);
  background: var(--line);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 0 var(--page-pad);
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
}
.footer a { color: var(--meta); }
.footer a:hover, .footer a:focus-visible { color: var(--terracotta); }

/* ---------- Layout « Centré » ---------- */

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: clamp(48px, 7vw, 96px) var(--page-pad);
  text-align: center;
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: sdRise 1.1s var(--ease) both;
}
.lockup__mark { width: min(48vw, 190px); height: auto; }
.lockup__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  letter-spacing: .3em;
  margin-right: -.3em; /* optical centering of tracked text */
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.lockup__region {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3em;
  margin-right: -.3em;
  text-transform: uppercase;
  color: var(--taupe);
}

.rule {
  display: block;
  width: 72px;
  height: 1px;
  background: var(--terracotta-light);
}

.message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: sdRise 1.3s .15s var(--ease) both;
}

.status {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}
.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: sdPulse 2.4s ease-out infinite;
}

.title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--ink);
}
.title em {
  font-style: italic;
  color: var(--terracotta);
}

.lead {
  margin: 0;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.email {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--ink);
  border-bottom: 1px solid var(--terracotta-light);
  padding-bottom: 4px;
}

/* ---------- Small screens ---------- */

@media (max-width: 480px) {
  /* Keep logo + Contact on a single header line */
  .nav__region { display: none; }
}

/* ---------- Motion ---------- */

@keyframes sdPulse {
  0%   { box-shadow: 0 0 0 0 rgba(182, 90, 43, .45); }
  70%  { box-shadow: 0 0 0 9px rgba(182, 90, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(182, 90, 43, 0); }
}

@keyframes sdRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lockup, .message, .status__dot { animation: none; }
  a { transition: none; }
}
