:root {
  --ink: #201712;
  --rust: #712d16;
  --copper: #a5440d;
  --ochre: #cf7a2c;
  --cream: #f6eee2;
  --paper: #fffaf2;
  --line: rgba(32, 23, 18, .18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 100;
  background: var(--paper);
  padding: .8rem 1rem;
  border-radius: 0 0 .5rem .5rem;
}
.skip-link:focus { top: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 6.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem clamp(1.2rem, 4vw, 4.8rem);
  color: var(--cream);
  transition: background .3s ease, height .3s ease, color .3s ease;
}
.site-header.scrolled {
  height: 5rem;
  background: rgba(246, 238, 226, .96);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(32, 23, 18, .12);
  backdrop-filter: blur(14px);
}
.brand { width: 8.3rem; height: 5.2rem; display: grid; place-items: center; }
.brand img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); transition: filter .3s; }
.scrolled .brand img { filter: none; }
.site-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.6vw, 2.8rem); }
.site-nav a { font-size: .9rem; font-weight: 500; text-decoration: none; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 1px; background: currentColor; transition: right .25s; }
.site-nav a:hover::after { right: 0; }
.nav-cta { border: 1px solid currentColor; border-radius: 999px; padding: .7rem 1.1rem; }
.menu-toggle { display: none; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: center; overflow: hidden; color: #fff8ee; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("assets/artisan-hero.webp") center center / cover no-repeat; transform: scale(1.025); animation: settle 1.6s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-shade { background: linear-gradient(90deg, rgba(27,13,8,.83) 0%, rgba(38,15,7,.6) 42%, rgba(31,14,8,.07) 72%), linear-gradient(0deg, rgba(19,10,7,.42), transparent 38%); }
@keyframes settle { to { transform: scale(1); } }
.hero-content { position: relative; z-index: 2; width: min(52rem, 86vw); margin-left: clamp(1.4rem, 8vw, 9rem); padding-top: 5rem; }
.eyebrow { margin: 0 0 1.1rem; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 2rem; height: 1px; margin: 0 .7rem .22rem 0; background: currentColor; }
.eyebrow.dark { color: var(--rust); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.06; margin-top: 0; }
h1 { margin-bottom: 1.4rem; font-size: clamp(3.5rem, 7.5vw, 7.6rem); letter-spacing: -.045em; }
h1 em { color: #efb069; font-weight: 500; }
.hero-copy { max-width: 35rem; margin: 0 0 2rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,248,238,.86); }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.5rem; padding: 0 1.45rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .25s ease, background .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cream); color: var(--rust); }
.button-primary:hover { background: #fff; }
.text-link { display: inline-flex; gap: .7rem; align-items: center; text-underline-offset: .35rem; font-weight: 500; }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateY(3px); }
.text-link.light { color: var(--cream); }
.hero-stamp { position: absolute; z-index: 2; right: clamp(1.5rem, 4vw, 4rem); bottom: 2.6rem; width: 8.2rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; display: grid; place-content: center; text-align: center; transform: rotate(8deg); }
.hero-stamp::before { content: ""; position: absolute; inset: .4rem; border: 1px dashed rgba(255,255,255,.45); border-radius: inherit; }
.hero-stamp span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.hero-stamp strong { font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.4rem, 7vw, 8rem); }
.intro { display: grid; grid-template-columns: .25fr 1.5fr .75fr; gap: 3rem; align-items: start; border-bottom: 1px solid var(--line); }
.section-number { font-size: .78rem; color: var(--rust); }
.intro h2, .section-heading h2 { margin: 0; font-size: clamp(2.8rem, 5.7vw, 5.8rem); letter-spacing: -.04em; }
.intro-note { align-self: end; max-width: 25rem; margin: 0; color: #5b4a40; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading > p { max-width: 18rem; color: #6c5a4e; }
.collection-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, minmax(18rem, 1fr)); gap: 1rem; }
.collection-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 19rem; padding: 1.6rem; border: 1px solid var(--line); background: var(--ink); color: var(--cream); isolation: isolate; }
.collection-card.card-large { grid-row: 1 / 3; min-height: 38rem; }
.collection-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(24,14,10,.12) 15%, rgba(24,14,10,.82) 100%); }
.collection-card > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s ease; }
.collection-card:hover > img { transform: scale(1.035); filter: saturate(1.08); }
.collection-card > span { align-self: flex-end; font-size: .75rem; padding: .4rem .62rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(25,14,9,.18); backdrop-filter: blur(6px); }
.collection-card > div { text-shadow: 0 2px 16px rgba(0,0,0,.28); }
.collection-card h3 { margin-bottom: .7rem; font-size: clamp(2rem, 3.6vw, 3.5rem); }
.collection-card p { max-width: 27rem; margin: 0; color: rgba(255,248,238,.88); }
.card-dark::after { background: linear-gradient(180deg, rgba(24,14,10,.06) 18%, rgba(24,14,10,.88) 100%); }
.card-rust::after { background: linear-gradient(180deg, rgba(62,22,9,.04) 18%, rgba(78,27,10,.88) 100%); }

.story { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 48rem; background: var(--ink); color: var(--cream); }
.story-visual { position: relative; min-height: 36rem; overflow: hidden; }
.story-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.05); }
.story-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(32,23,18,.52), transparent 50%); }
.story-visual p { position: absolute; z-index: 2; left: 2rem; bottom: 1.3rem; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.story-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.story-content h2 { font-size: clamp(2.8rem, 4.8vw, 5rem); letter-spacing: -.035em; }
.story-content > p:not(.eyebrow) { color: rgba(246,238,226,.72); max-width: 38rem; }
.story-content .text-link { margin-top: 1.5rem; align-self: flex-start; }

.values { background: var(--cream); }
.values-list { border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: .18fr .65fr 1fr; align-items: baseline; gap: 2rem; padding: 2.2rem .2rem; border-bottom: 1px solid var(--line); }
.value span { color: var(--rust); font-size: .75rem; }
.value h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); }
.value p { margin: 0; max-width: 30rem; color: #665448; }

.contact { position: relative; overflow: hidden; min-height: 38rem; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem 1.4rem; text-align: center; color: var(--cream); background: var(--rust); }
.contact h2 { margin-bottom: 2rem; font-size: clamp(3.1rem, 7vw, 7rem); letter-spacing: -.045em; }
.button-light { background: var(--cream); color: var(--rust); }
.contact-note { font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; opacity: .7; margin-top: 1rem; }
.contact-thread { position: absolute; width: min(70vw, 60rem); aspect-ratio: 1; border: 1px solid rgba(246,238,226,.17); border-radius: 50%; }
.contact-thread::before, .contact-thread::after { content: ""; position: absolute; inset: 8%; border: inherit; border-radius: inherit; }
.contact-thread::after { inset: 17%; }
.contact > *:not(.contact-thread) { position: relative; z-index: 1; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 3rem clamp(1.4rem, 7vw, 8rem); background: #160f0c; color: rgba(246,238,226,.7); }
.footer-brand img { width: 9rem; height: 6.5rem; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }
.footer-brand p { margin: .5rem 0 0; }
.footer-links { display: flex; align-items: start; gap: 2rem; padding-top: 2rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; margin: 1rem 0 0; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 800px) {
  .site-header { height: 5.3rem; padding-inline: 1.2rem; }
  .brand { width: 6.8rem; height: 4.5rem; }
  .menu-toggle { display: grid; width: 2.8rem; height: 2.8rem; place-content: center; gap: .45rem; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; }
  .menu-toggle span { display: block; width: 1.1rem; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.2rem 1.4rem; background: var(--cream); color: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: .9rem; padding: .75rem 1rem; text-align: center; border: 1px solid var(--ink); }
  .hero { min-height: 49rem; align-items: end; }
  .hero-image { background-position: 66% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(25,12,8,.9) 5%, rgba(30,14,8,.65) 52%, rgba(30,14,8,.08) 80%); }
  .hero-content { width: auto; margin: 0; padding: 7rem 1.35rem 6.8rem; }
  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-stamp { width: 6.5rem; right: 1rem; bottom: 1rem; }
  .intro { grid-template-columns: 1fr; gap: 1rem; }
  .intro-note { margin-top: 1rem; }
  .section-heading { display: block; }
  .collection-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .collection-card.card-large { grid-row: auto; min-height: 25rem; }
  .collection-card { min-height: 21rem; }
  .story { grid-template-columns: 1fr; }
  .story-visual { min-height: 28rem; }
  .value { grid-template-columns: .18fr 1fr; gap: 1rem; }
  .value p { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; padding-top: 0; }
}

@media (max-width: 430px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-copy { font-size: 1rem; }
  .section { padding-inline: 1.2rem; }
  .intro h2, .section-heading h2 { font-size: 2.65rem; }
  .story-content { padding: 4rem 1.3rem; }
  .story-content h2 { font-size: 2.6rem; }
  .contact h2 { font-size: 3rem; }
}
