:root {
  color-scheme: light;
  --green: #0f2d26;
  --green-deep: #09231d;
  --ivory: #f3f0e7;
  --white: #fff;
  --ink: #171b18;
  --muted: #696d66;
  --line: rgba(15, 45, 38, .2);
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page-pad: clamp(1.25rem, 6.2vw, 7.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; z-index: 20; top: .75rem; left: .75rem; transform: translateY(-150%); padding: .75rem 1rem; background: var(--white); color: var(--green); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 5; min-height: 5.4rem; display: flex; align-items: center; justify-content: space-between; padding: .8rem var(--page-pad); background: var(--ivory); }
.wordmark { display: flex; align-items: center; gap: .45rem; text-decoration: none; }
.brand-symbol { width: 2.7rem; height: 3.25rem; flex: 0 0 auto; background: var(--green); -webkit-mask: url("/assets/xaneiros-symbol-white.png") center / contain no-repeat; mask: url("/assets/xaneiros-symbol-white.png") center / contain no-repeat; }
.wordmark-window, .footer-name-window { display: block; overflow: hidden; }
.wordmark-window { width: clamp(8.5rem, 14vw, 11.75rem); height: 2.5rem; }
.footer-name-window { width: 9.4rem; height: 2rem; }
.wordmark-window img, .footer-name-window img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 78%; }
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.3vw, 2.6rem); }
.main-nav a, .footer-nav a { text-decoration: none; font-size: .84rem; letter-spacing: .02em; transition: opacity .2s ease; }
.main-nav a:hover, .footer-nav a:hover { opacity: .62; }
.coming-soon { display: inline-flex; align-items: center; min-height: 2.35rem; padding: .35rem .8rem; border: 1px solid var(--line); color: var(--green); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: min(47rem, calc(100svh - 5.4rem)); display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--green); }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("/assets/camino-peregrino-santiago.png") center 53% / cover no-repeat; transform: scale(1.01); }
.hero-shade { background: linear-gradient(90deg, rgba(6, 27, 22, .78) 0%, rgba(6, 27, 22, .45) 44%, rgba(6, 27, 22, .08) 100%), linear-gradient(0deg, rgba(6, 27, 22, .35), transparent 44%); }
.hero-copy { position: relative; z-index: 1; width: min(57rem, 100%); padding: clamp(3rem, 8vw, 7.5rem) var(--page-pad) clamp(4rem, 8vw, 7rem); }
.eyebrow { margin: 0 0 1.35rem; color: var(--green); font-size: .7rem; font-weight: 600; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.78); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.hero h1 { max-width: 12ch; margin: 0 0 1.25rem; font-size: clamp(3.4rem, 8.3vw, 7.5rem); line-height: .93; }
h1 em, h2 em { font-weight: 400; }
.hero-subtitle { max-width: 31rem; margin: 0 0 .55rem; font-size: clamp(1.08rem, 1.65vw, 1.35rem); line-height: 1.45; }
.hero-support { max-width: 27rem; margin: 0; color: rgba(255,255,255,.81); font-size: .97rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.1rem; }
.button { min-height: 3.25rem; display: inline-flex; justify-content: center; align-items: center; padding: .75rem 1.2rem; border: 1px solid transparent; text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .13em; line-height: 1.2; text-align: center; text-transform: uppercase; transition: background-color .2s ease, color .2s ease, border-color .2s ease; cursor: pointer; }
.button-light { color: var(--green); background: var(--white); }
.button-light:hover { color: var(--white); border-color: rgba(255,255,255,.8); background: transparent; }
.button-dark { color: var(--white); background: var(--green); }
.button-dark:hover { color: var(--green); border-color: var(--green); background: transparent; }
.text-link { display: inline-block; padding: .3rem 0; border-bottom: 1px solid currentColor; text-decoration: none; font-size: .77rem; font-weight: 600; letter-spacing: .11em; line-height: 1.5; text-transform: uppercase; }
.light-link { color: var(--white); }
.dark-link { color: var(--green); }
.hero-caption { position: absolute; right: var(--page-pad); bottom: 1.25rem; z-index: 1; margin: 0; color: rgba(255,255,255,.78); font-family: var(--serif); font-size: .92rem; font-style: italic; }

.section-pad { padding: clamp(5rem, 11vw, 10rem) var(--page-pad); }
.collection { display: block; overflow: hidden; }
.section-intro { max-width: 54rem; margin-bottom: clamp(4rem, 8vw, 7rem); }
.section-intro h2, .principles-heading h2 { margin: 0 0 1.7rem; color: var(--green); font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1.02; }
.section-intro h2 { max-width: none; font-size: clamp(3.2rem, 6.4vw, 6rem); line-height: .99; }
.section-intro h2 em { color: #677d72; }
.intro-copy { margin-bottom: 1rem; font-size: 1.1rem; line-height: 1.6; }
.body-copy { max-width: 36rem; margin: 0; color: #555a54; }
.collection-gallery { margin-top: clamp(5rem, 9vw, 8rem); }
.gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.65rem; }
.gallery-heading .eyebrow { margin-bottom: .85rem; }
.gallery-heading h3 { margin: 0 0 .55rem; color: var(--green); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; }
.gallery-heading p:not(.eyebrow) { margin: 0; color: #626860; font-size: .94rem; }
.carousel-controls { display: flex; flex: 0 0 auto; align-items: center; gap: .6rem; padding-bottom: .12rem; }
.carousel-count { min-width: 4.2rem; margin-right: .4rem; color: var(--green); font-size: .7rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.carousel-count > span:last-child { color: #7a8077; }
.carousel-arrow { width: 2.8rem; height: 2.8rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(15,45,38,.35); border-radius: 50%; color: var(--green); background: transparent; font-size: 1.2rem; line-height: 1; cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { border-color: var(--green); color: var(--ivory); background: var(--green); }
.carousel-arrow:disabled { cursor: default; opacity: .35; }
.carousel-track { display: flex; gap: clamp(.9rem, 2vw, 1.65rem); overflow-x: auto; margin-right: calc(-1 * var(--page-pad)); padding: 0 var(--page-pad) .9rem 0; overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: rgba(15,45,38,.35) transparent; scrollbar-width: thin; }
.carousel-track:focus-visible { outline: 1px solid var(--green); outline-offset: .25rem; }
.gallery-slide { flex: 0 0 auto; min-width: 0; margin: 0; scroll-snap-align: start; }
.story-slide { width: clamp(17rem, 30vw, 24rem); }
.story-slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.gallery-slide figcaption { display: flex; flex-direction: column; gap: .25rem; padding-top: .9rem; }
.gallery-slide figcaption span { color: #73796f; font-size: .63rem; font-weight: 600; letter-spacing: .14em; }
.gallery-slide figcaption strong { color: var(--green); font-family: var(--serif); font-size: 1.18rem; font-weight: 400; line-height: 1.35; }
.detail-gallery { padding-top: clamp(3.5rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.detail-slide { width: clamp(21rem, 42vw, 34rem); }
.detail-photo { overflow: hidden; background: #dedbd2; }
.detail-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }
.detail-symbols img { transform: scale(1.03); }
.detail-weave img { transform: scale(1.12); }
.story-gallery .carousel-track::-webkit-scrollbar, .detail-gallery .carousel-track::-webkit-scrollbar { height: 3px; }
.story-gallery .carousel-track::-webkit-scrollbar-thumb, .detail-gallery .carousel-track::-webkit-scrollbar-thumb { background: rgba(15,45,38,.35); }

.manifesto { position: relative; overflow: hidden; padding: clamp(6rem, 13vw, 12rem) var(--page-pad); color: var(--white); background: var(--green); }
.manifesto::after { position: absolute; right: -5vw; bottom: -12vw; width: min(38vw, 38rem); height: min(43vw, 42rem); content: ""; background: url("/assets/xaneiros-symbol-white.png") center / contain no-repeat; opacity: .045; pointer-events: none; }
.manifesto-inner { position: relative; z-index: 1; max-width: 74rem; margin: 0 auto; }
.manifesto h2 { margin: 0 0 clamp(3rem, 7vw, 6rem); font-size: clamp(2.8rem, 6.7vw, 6.3rem); line-height: 1.04; }
.manifesto h2 em { color: #d9dfd7; }
.manifesto-copy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 5rem); max-width: 69rem; }
.manifesto-copy p { margin: 0; color: rgba(255,255,255,.82); font-size: 1rem; }

.principles { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(3rem, 8vw, 9rem); background: var(--ivory); }
.principles-heading h2 { margin-bottom: 0; }
.principle-list { border-top: 1px solid var(--line); }
.principle { min-height: 8.4rem; display: grid; grid-template-columns: 3.2rem 1fr 3.2rem; align-items: center; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.principle-number { align-self: start; padding-top: .35rem; color: #73796f; font-size: .7rem; letter-spacing: .12em; }
.principle h3 { margin: 0 0 .25rem; color: var(--green); font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.principle p { max-width: 32rem; margin: 0; color: #555a54; font-size: .94rem; }
.principle-glyph { width: 2.5rem; height: 3rem; display: flex; align-items: center; justify-content: flex-end; color: rgba(15,45,38,.3); font-family: var(--serif); font-size: 2.3rem; text-align: right; }
.principle-glyph img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) saturate(100%) invert(13%) sepia(24%) saturate(850%) hue-rotate(112deg) brightness(90%) contrast(92%); opacity: .25; }
.principle-glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.launch { position: relative; min-height: 40rem; display: flex; align-items: center; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) var(--page-pad); color: var(--white); background: var(--green); }
.launch-symbol { position: absolute; top: 50%; right: -4vw; width: min(50vw, 45rem); height: auto; opacity: .055; transform: translateY(-48%); pointer-events: none; }
.launch-content { position: relative; z-index: 1; width: min(38rem, 100%); }
.launch h2 { margin: 0 0 1.3rem; font-size: clamp(3.6rem, 7.5vw, 6.8rem); line-height: .94; }
.launch h2 em { color: #d9dfd7; }
.launch-copy { max-width: 31rem; margin-bottom: 1.75rem; color: rgba(255,255,255,.84); font-size: 1rem; }
.signup-form { display: flex; width: min(36rem, 100%); gap: .55rem; }
.signup-form input[type="email"] { min-width: 0; flex: 1; min-height: 3.25rem; padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.52); border-radius: 0; outline: none; color: var(--white); background: transparent; }
.signup-form input[type="email"]::placeholder { color: rgba(255,255,255,.75); }
.signup-form input[type="email"]:focus { border-color: var(--white); box-shadow: 0 0 0 2px rgba(255,255,255,.2); }
.signup-form .button { min-width: 8.25rem; }
.consent { display: flex; align-items: flex-start; gap: .6rem; margin-top: 1rem; color: rgba(255,255,255,.83); font-size: .83rem; }
.consent input { width: 1rem; height: 1rem; flex: 0 0 auto; margin: .2rem 0 0; accent-color: var(--white); }
.privacy-note { margin: .65rem 0 0 1.6rem; color: rgba(255,255,255,.66); font-size: .78rem; }
.form-status { min-height: 1.5rem; margin: .8rem 0 0; color: var(--white); font-size: .86rem; }

.retail { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 9vw, 10rem); background: var(--white); }
.retail-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; min-height: 24rem; }
.retail-logo { width: min(100%, 16rem); height: auto; align-self: center; object-fit: contain; }
.retail-main { max-width: 41rem; padding-top: 2rem; }
.retail-main h2 { margin: 0 0 1.5rem; color: var(--green); font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: 1.02; }
.retail-main p { max-width: 36rem; margin-bottom: 1rem; color: #555a54; font-size: 1.02rem; }
.retail-main .button { margin-top: 1.2rem; }
.retail-email { display: block; width: fit-content; margin-top: 1.2rem; color: var(--green); font-size: .92rem; text-decoration-color: rgba(15,45,38,.4); text-underline-offset: .3rem; }
.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 2rem; padding: 2.3rem var(--page-pad); color: var(--green); background: var(--ivory); }
.footer-wordmark { width: max-content; display: flex; align-items: center; gap: .45rem; text-decoration: none; }
.footer-wordmark .brand-symbol { width: 2.5rem; height: 3rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem 1rem; }
.footer-nav a { font-size: .74rem; }
.footer-nav a[aria-disabled="true"] { cursor: default; opacity: .57; }
.copyright { grid-column: 1 / -1; margin: .8rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: #667068; font-size: .74rem; }

@media (min-width: 1500px) {
  .hero { min-height: 50rem; }
  .hero-image { background-position: center 58%; }
}

@media (max-width: 900px) {
  :root { --page-pad: clamp(1.25rem, 5vw, 3rem); }
  .main-nav { gap: 1.15rem; }
  .brand-symbol { width: 2.35rem; height: 2.85rem; }
  .wordmark-window { width: 8.6rem; height: 2rem; }
  .main-nav a { font-size: .73rem; }
  .coming-soon { min-height: 2.05rem; padding: .25rem .55rem; font-size: .63rem; }
  .principles { grid-template-columns: 1fr; gap: 3rem; }
  .retail { gap: 3rem; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 4.2rem; }
  .site-header { min-height: 4.2rem; padding-top: .5rem; padding-bottom: .5rem; }
  .brand-symbol { width: 2.15rem; height: 2.65rem; }
  .wordmark-window { width: 8.1rem; height: 1.9rem; }
  .menu-toggle { width: 2.8rem; height: 2.8rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: .38rem; padding: .5rem; border: 0; color: var(--green); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 1.45rem; height: 1px; display: block; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-.2rem) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .3rem var(--page-pad) 1rem; background: var(--ivory); box-shadow: 0 1rem 1.5rem rgba(9,35,29,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .main-nav .nav-social { display: none; }
  .coming-soon { align-self: flex-start; margin-top: .9rem; }
  .hero { min-height: min(48rem, calc(100svh - 4.2rem)); }
  .hero-image { background-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,27,22,.72), rgba(6,27,22,.2)), linear-gradient(0deg, rgba(6,27,22,.42), transparent 70%); }
  .hero-copy { padding-top: 4rem; padding-bottom: 5.2rem; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5.1rem); }
  .hero-subtitle { max-width: 20rem; font-size: 1.08rem; }
  .hero-support { max-width: 21rem; font-size: .93rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; margin-top: 1.7rem; }
  .hero-caption { right: var(--page-pad); bottom: .85rem; font-size: .8rem; }
  .hero-credit { top: .75rem; font-size: .62rem; }
  .section-pad { padding-top: 5rem; padding-bottom: 5rem; }
  .section-intro { margin-bottom: 4rem; }
  .section-intro h2, .principles-heading h2 { font-size: clamp(2.8rem, 11vw, 4.4rem); }
  .intro-copy { font-size: 1.02rem; }
  .collection-gallery { margin-top: 4.7rem; }
  .gallery-heading { align-items: flex-end; gap: 1rem; margin-bottom: 1.2rem; }
  .gallery-heading h3 { font-size: clamp(1.8rem, 8vw, 2.7rem); }
  .gallery-heading p:not(.eyebrow) { max-width: 25rem; font-size: .86rem; }
  .carousel-controls { gap: .38rem; }
  .carousel-count { min-width: 3.3rem; margin-right: .1rem; font-size: .62rem; }
  .carousel-arrow { width: 2.35rem; height: 2.35rem; font-size: 1rem; }
  .carousel-track { margin-right: calc(-1 * var(--page-pad)); gap: .8rem; padding-bottom: .7rem; }
  .story-slide { width: 78vw; max-width: 24rem; }
  .detail-slide { width: 86vw; max-width: 30rem; }
  .gallery-slide figcaption { padding-top: .75rem; }
  .gallery-slide figcaption strong { font-size: 1.08rem; }
  .detail-gallery { padding-top: 3.3rem; }
  .manifesto { padding-top: 6rem; padding-bottom: 6rem; }
  .manifesto h2 { font-size: clamp(2.7rem, 11vw, 4.4rem); }
  .manifesto-copy { grid-template-columns: 1fr; gap: 1.1rem; }
  .manifesto-copy p { max-width: 25rem; }
  .principles { gap: 2.5rem; }
  .principle { grid-template-columns: 2rem 1fr 2.2rem; gap: .8rem; min-height: 8rem; }
  .principle h3 { font-size: 1.5rem; }
  .principle p { font-size: .9rem; }
  .principle-glyph { width: 2rem; height: 2.5rem; font-size: 1.9rem; }
  .launch { min-height: 40rem; align-items: flex-start; padding-top: 5.5rem; padding-bottom: 5rem; }
  .launch-symbol { top: 70%; right: -14vw; width: 80vw; }
  .launch h2 { font-size: clamp(3.7rem, 16vw, 5.4rem); }
  .signup-form { flex-direction: column; }
  .signup-form input[type="email"] { min-height: 3.2rem; }
  .signup-form .button { align-self: flex-start; min-width: 9rem; }
  .consent { font-size: .8rem; }
  .privacy-note { margin-left: 1.6rem; }
  .retail { grid-template-columns: 1fr; gap: 1.2rem; }
  .retail-side { min-height: 0; }
  .retail-logo { align-self: flex-start; width: min(47vw, 12rem); max-height: 12rem; object-position: left center; }
  .retail-main { padding-top: 0; }
  .retail-main h2 { font-size: clamp(2.8rem, 11vw, 4rem); }
  .site-footer { grid-template-columns: 1fr auto; gap: .5rem 1rem; padding-top: 2rem; padding-bottom: 1.5rem; }
  .footer-wordmark { gap: .35rem; }
  .footer-wordmark .brand-symbol { width: 2.1rem; height: 2.55rem; }
  .footer-name-window { width: 8.2rem; height: 1.8rem; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: .8rem 1.1rem; margin-top: 1rem; }
  .copyright { grid-row: 3; }
}

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