@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@120,300&display=swap");

/* Nail Corner Studio — design tokens, reset, typography */
@font-face {
  font-family: "Amsterdam Four";
  src: url("../fonts/amsterdam-four.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ink: #403f2b;
  --cream: #fefaf0;
  --white: #ffffff;
  --teal: #2b5672;
  --teal-dark: #1f425a;
  --gold: #f1d76f;
  --gold-deep: #b89a2e;
  --stone: #cbc8c0;
  --muted: #5f5d58;
  --night: #16150f;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --maxw: 1200px;
  --radius: 4px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 120;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 9vw, 5.8rem); }
h2 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 300; }

p { margin: 0 0 1.1em; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--teal-dark); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
