/* Small Details Aesthetics — site styles */

@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #fdf8f6;
  --blush: #f7e6e3;
  --blush-deep: #efd2cf;
  --rose: #8e5562;
  --rose-dark: #74414d;
  --ink: #3d2930;
  --muted: #6a4f57;
  --line: #ead3d0;
  --white: #ffffff;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: 0.2em; }
a:hover { color: var(--rose-dark); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }
h1 em, h2 em { font-style: italic; color: var(--rose); }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose); margin-bottom: 1rem; font-weight: 500; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 248, 246, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--rose); margin-top: 0.3rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: 0.98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rose); }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--rose); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font: inherit; font-size: 0.9rem; color: var(--ink); cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 20px 1rem; }
  .nav li a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border-bottom: 0; }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 0.8rem; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--rose); color: var(--white); text-decoration: none; padding: 0.9rem 1.8rem; border-radius: 999px; font-weight: 500; font-size: 1rem; letter-spacing: 0.02em; transition: background 0.2s ease, transform 0.2s ease; border: 1px solid var(--rose); }
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: var(--white); transform: translateY(-1px); }
.btn-small { padding: 0.55rem 1.2rem; font-size: 0.92rem; }
.nav a.btn { color: var(--white); }
.nav a.btn:hover { color: var(--white); }
.btn-ghost { background: transparent; color: var(--rose); }
.btn-ghost:hover { background: var(--blush); color: var(--rose-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.center .btn-row, .cta-band .btn-row { justify-content: center; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-media img { border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(116, 65, 77, 0.35); }
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
}

.page-hero { padding: 64px 0 40px; }
.page-hero.has-image { padding-bottom: 0; }
.page-hero .banner { margin-top: 40px; border-radius: var(--radius); aspect-ratio: 16 / 6; object-fit: cover; width: 100%; }
@media (max-width: 640px) { .page-hero { padding-top: 40px; } .page-hero .banner { aspect-ratio: 16 / 9; } }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--blush); }
@media (max-width: 640px) { .section { padding: 56px 0; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

.value { padding: 8px 0; }
.value .icon { width: 44px; height: 44px; color: var(--rose); margin-bottom: 1rem; }
.value h3 { font-size: 1.55rem; }
.value p { color: var(--muted); margin: 0; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.section-tint .card { border-color: var(--blush-deep); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .tag { display: inline-block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.6rem; font-weight: 500; }
.card ul { margin: 0 0 1em; padding-left: 1.1em; color: var(--muted); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split img { aspect-ratio: 16 / 11; } }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--blush-deep); padding-top: 1.2rem; }
.steps li::before { content: "0" counter(step); font-family: var(--serif); font-size: 2rem; color: var(--rose); display: block; line-height: 1; margin-bottom: 0.6rem; }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.35; color: var(--ink); max-width: 30em; margin: 0 auto; }

.cta-band { text-align: center; }
.cta-band .lead { margin: 0 auto; }

.contact-card { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-email { font-family: var(--serif); font-size: clamp(1.5rem, 5vw, 2.2rem); word-break: break-word; display: inline-block; margin: 0.4rem 0 0.2rem; }

.note { font-size: 0.95rem; color: var(--muted); border-left: 3px solid var(--blush-deep); padding-left: 1rem; margin-top: 2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 0.95rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--rose); }
.site-footer .small { width: 100%; font-size: 0.85rem; margin: 0; }

/* 404 */
.not-found { min-height: 60vh; display: flex; align-items: center; text-align: center; }

/* Test-project notice shown at the top of every page */
.test-banner { background: var(--ink); color: var(--white); text-align: center; font-size: 0.9rem; line-height: 1.5; padding: 0.6rem 20px; }
.test-banner strong { font-weight: 500; letter-spacing: 0.04em; }
