/* CHAESY — brand site
   Direction: soft stone / graphite / cinnabar — editorial, not retail grid */

:root {
  --ink: #161412;
  --ink-soft: #3a3530;
  --muted: #7a746c;
  --paper: #f0eee9;
  --stone: #e3dfd7;
  --fog: #d5d0c7;
  --line: rgba(22, 20, 18, 0.14);
  --cinnabar: #8a1f2c;
  --cinnabar-deep: #64141e;
  --night: #12110f;
  --night-elevated: #1c1a17;
  --pearl: #f7f5f1;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Syne", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(138, 31, 44, 0.06), transparent 45%),
    radial-gradient(90% 70% at 100% 20%, rgba(22, 20, 18, 0.05), transparent 40%),
    linear-gradient(180deg, var(--paper) 0%, var(--stone) 48%, var(--paper) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

address {
  font-style: normal;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--pearl);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(240, 238, 233, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.site-header.on-dark:not(.is-scrolled) .logo,
.site-header.on-dark:not(.is-scrolled) .nav a,
.site-header.on-dark:not(.is-scrolled) .nav-toggle-bar {
  color: var(--pearl);
  background: var(--pearl);
}

.site-header.on-dark:not(.is-scrolled) .logo,
.site-header.on-dark:not(.is-scrolled) .nav a {
  background: transparent;
}

.header-inner {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
}

.nav {
  display: none;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 1.35rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: inherit;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--ink);
}

.mobile-nav {
  display: grid;
  gap: 0.35rem;
  padding: 0.5rem 1.5rem 1.25rem;
  background: rgba(240, 238, 233, 0.96);
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.85rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--pearl);
}

.btn-primary:hover {
  background: var(--cinnabar);
}

.btn-ghost {
  border-color: rgba(247, 245, 241, 0.55);
  color: var(--pearl);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(247, 245, 241, 0.1);
  border-color: var(--pearl);
}

.btn-light {
  background: var(--pearl);
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
}

/* Typography */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: 1rem;
}

.eyebrow.light {
  color: #d8a4ab;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-title.light {
  color: var(--pearl);
}

.section-lead,
.body {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36rem;
}

.section-lead.light {
  color: rgba(247, 245, 241, 0.78);
}

.section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 40rem;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
  max-width: 44rem;
}

.section-head.centered .section-lead {
  margin-inline: auto;
}

.section-head .section-lead {
  margin-top: 1.25rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--pearl);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.06);
  transition: transform 8s var(--ease);
}

.hero.is-ready .hero-img {
  transform: scale(1);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.78) 0%, rgba(18, 17, 15, 0.42) 42%, rgba(18, 17, 15, 0.16) 70%, rgba(18, 17, 15, 0.28) 100%),
    linear-gradient(180deg, rgba(18, 17, 15, 0.35) 0%, transparent 28%, rgba(18, 17, 15, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  justify-self: start;
  width: min(40rem, calc(100% - 3rem));
  margin-left: max(1.5rem, calc((100% - min(1180px, 100% - 3rem)) / 2));
  padding: calc(var(--header-h) + 3.5rem) 0 5.5rem;
}

.hero-brand {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.8vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.15rem;
}

.hero-lead {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(247, 245, 241, 0.84);
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.4rem;
  border: 1px solid rgba(247, 245, 241, 0.45);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 0.4rem;
}

.hero-scroll span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--pearl);
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* Brand */
.brand-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .brand-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.brand-copy .body + .body {
  margin-top: 1rem;
}

.brand-copy .section-title {
  margin-bottom: 1.5rem;
}

.meta-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.meta-list > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}

.meta-list dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-list dd {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.brand-visual {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--fog);
}

.brand-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  transition: transform 1.2s var(--ease);
}

.brand-visual:hover img {
  transform: scale(1.04);
}

/* Collections */
.collections {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35) 20%, rgba(255, 255, 255, 0.35) 80%, transparent);
}

.collection-list {
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
}

.collection-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .collection-row {
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 4vw, 3.5rem);
  }

  .collection-row.reverse {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .collection-row.reverse .collection-media {
    order: 2;
  }
}

.collection-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--fog);
}

.collection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.collection-row:hover .collection-media img {
  transform: scale(1.03);
}

.collection-index {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--cinnabar);
  margin-bottom: 0.5rem;
}

.collection-text h3 {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.collection-text p {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.chip-row li {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.45rem 0.7rem;
  border-bottom: 1px solid var(--line);
}

/* Materials marquee */
.materials {
  padding: 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--pearl);
}

.materials-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  padding: 0.75rem;
  animation: marquee 42s linear infinite;
}

.materials-item {
  width: min(280px, 70vw);
  aspect-ratio: 1;
  background: #fff;
  flex: none;
  display: grid;
  place-items: center;
  padding: 0.85rem;
}

.materials-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Approach */
.pillars {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.pillar {
  padding: 1.75rem 1.35rem 1.9rem;
  border-top: 1px solid var(--ink);
}

.pillar-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--cinnabar);
  margin-bottom: 1.1rem;
}

.pillar h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.pillar p {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* Craft */
.craft {
  padding-top: 0;
}

.craft-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .craft-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.craft-visual {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 5 / 6;
}

.craft-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.craft-list {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.craft-list li {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.craft-copy .section-title {
  margin-bottom: 1.25rem;
}

/* Partners */
.partners {
  background:
    radial-gradient(80% 60% at 80% 0%, rgba(138, 31, 44, 0.28), transparent 55%),
    linear-gradient(160deg, var(--night) 0%, var(--night-elevated) 100%);
  color: var(--pearl);
}

.partners-inner {
  max-width: 48rem;
}

.partners-label {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d8a4ab;
}

.partners-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin-bottom: 1.75rem;
}

.partners-tags li {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(247, 245, 241, 0.9);
  position: relative;
  padding-right: 1.25rem;
}

.partners-tags li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: 0;
  color: rgba(247, 245, 241, 0.35);
}

.partners-note {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(247, 245, 241, 0.65);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.partners .section-title {
  margin-bottom: 1.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 0.9fr;
    align-items: end;
  }
}

.contact-card {
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.contact-name {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
}

.contact-role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-lines {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.contact-lines li,
.contact-lines a {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.contact-lines a:hover {
  color: var(--cinnabar);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand p {
  margin-top: 0.65rem;
  font-family: var(--serif);
  color: var(--muted);
  max-width: 18rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--cinnabar);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-img,
  .materials-track,
  .hero-scroll span,
  .brand-visual img,
  .collection-media img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
