@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
}

@layer base {
  :root {
    color-scheme: light;
    --cream: #fbf6ed;
    --ink: #473627;
    --muted: #746354;
    --rust: #a64d2d;
    --rust-dark: #84371e;
    --gold: #d4a257;
    --line: #ddceba;
    --olive: #3d4634;
    --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
    --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
  }
  html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
  body { background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
  ::selection { background: #e9cc9d; color: #352718; }
  h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
  a { text-decoration: none; text-underline-offset: .3em; }
  a:focus-visible { outline: 2px solid var(--rust); outline-offset: 6px; border-radius: 3px; }
  .our-world a:focus-visible { outline-color: var(--cream); }
  .skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 10; padding: .6rem 1.1rem; color: var(--cream); background: var(--rust-dark); transform: translateY(-200%); }
  .skip-link:focus { transform: translateY(0); }
}

@layer layout {
  .wrap { width: min(100% - 8rem, 1380px); margin-inline: auto; }
  .site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.7rem; border-bottom: 1px solid var(--line); }
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4.4rem; padding-block: 3rem 4.5rem; align-items: center; }
  .hero-copy { padding-block: 2.5rem; }
  .hero-visual { position: relative; margin-right: 1.6rem; }
  .hero-visual.hero-visual--logo { margin-right: 0; }
  .collection { padding-block: 6.2rem 6.5rem; }
  .section-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.7rem; }
  .collection-layout { display: grid; grid-template-columns: .96fr 1.04fr; gap: 4rem; align-items: center; }
  .art-inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 5rem; padding-block: 5rem; }
  .world-inner { position: relative; display: grid; grid-template-columns: .8fr 1.7fr; column-gap: 5rem; padding-block: 5.8rem 6rem; }
  .site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 3rem 1.5rem; padding-block: 3rem 1.4rem; }
}

@layer components {
  .brand { display: inline-flex; gap: .7rem; align-items: center; min-width: 0; }
  .brand-mark { width: 3.5rem; height: 3.5rem; object-fit: cover; object-position: center; scale: 1.35; flex-shrink: 0; mix-blend-mode: multiply; }
  .brand-name { font-family: var(--serif); font-size: 2rem; letter-spacing: -.045em; line-height: 1.15; }
  .brand-subline { display: block; font-family: var(--sans); font-size: .75rem; letter-spacing: .13em; line-height: 1.8; margin-top: .22rem; }
  .main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 2rem; font-size: .9375rem; }
  .main-nav a, .back-top { transition: color 180ms ease; }
  .main-nav a:hover, .back-top:hover { color: var(--rust); text-decoration: underline; }
  .header-link { display: inline-flex; align-items: center; gap: 1.4rem; border: 1px solid #beaa91; border-radius: 2rem; padding: .55rem 1.3rem; font-size: .875rem; transition: background 180ms ease; }
  .header-link:hover { background: #f0e5d4; }
  .header-link span { font-size: 1.25rem; }
  .eyebrow { font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .16em; line-height: 1.6; }
  .hero .eyebrow { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.9rem; }
  .small-line { display: inline-block; width: 2rem; height: 1px; background: var(--rust); }
  h1 { font-size: clamp(3.7rem, 6.05vw, 6.2rem); line-height: 1.04; letter-spacing: -.06em; }
  h1 em { color: var(--rust); font-weight: 400; }
  .hero-description { max-width: 24rem; margin-top: 1.75rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.85; }
  .button { display: inline-flex; justify-content: space-between; align-items: center; gap: 2.5rem; margin-top: 2rem; padding: .9rem 1.6rem; background: var(--rust); border: 1px solid var(--rust); color: #fff9ed; border-radius: 2rem; font-size: .9375rem; transition: background 180ms ease, transform 180ms ease; }
  .button:hover { background: var(--rust-dark); transform: translateY(-2px); }
  .button span { font-size: 1.3rem; line-height: 1; }
  .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.5rem; margin-top: 2rem; }
  .hero-actions .button { margin-top: 0; }
  .hero-art-link { display: inline-flex; align-items: center; gap: .7rem; padding-block: .6rem; border-bottom: 1px solid #b39974; font-size: .9375rem; transition: color 180ms ease; }
  .hero-art-link:hover { color: var(--rust); }
  .hero-art-link span { font-size: 1.2rem; }
  .hero-footnote { display: flex; align-items: center; gap: .9rem; margin-top: 3.4rem; font-size: .8125rem; line-height: 1.7; }
  .hero-footnote p { color: #64503d; }
  .hero-footnote span:not(.footnote-rule) { color: var(--muted); }
  .footnote-rule { width: 2.2rem; height: 1px; background: #b39974; }
  .hero-photo-frame { position: relative; overflow: hidden; border-radius: 48% 48% 2px 2px; background: #ba8b56; aspect-ratio: 4 / 4.85; isolation: isolate; }
  .hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
  .hero-logo { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
  .photo-caption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 3.5rem 1.6rem 1.35rem; background: linear-gradient(transparent, #271b10a6); color: #fff9ed; font-size: .75rem; letter-spacing: .1em; }
  .sunshine-note { position: absolute; top: 1.7rem; right: -2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 7.3rem; aspect-ratio: 1; border: 1px solid #e3cba7; border-radius: 50%; background: #f8e8c9; color: #774220; transform: rotate(10deg); font-family: var(--serif); font-style: italic; font-size: 1.65rem; line-height: 1.03; box-shadow: 0 3px 16px #33240f08; }
  .sunshine-note span { font-size: 1.2rem; margin-bottom: .2rem; }
  .vertical-note { position: absolute; right: -1.8rem; bottom: 0; writing-mode: vertical-rl; font-size: .75rem; letter-spacing: .13em; color: var(--muted); }
  .mood-strip { border-block: 1px solid var(--line); background: #f5ecdd; }
  .mood-strip-inner { display: flex; justify-content: space-evenly; align-items: center; gap: 1.5rem; padding-block: 1.25rem; font-family: var(--serif); font-size: 1.4rem; font-style: italic; }
  .separator { color: var(--rust); font-size: 1.4rem; font-style: normal; }
  h2 { font-size: clamp(2.65rem, 3.6vw, 3.7rem); line-height: 1.12; letter-spacing: -.05em; }
  .section-intro h2 { margin-top: .65rem; }
  .section-intro > p { color: var(--muted); font-size: 1rem; line-height: 1.75; padding-bottom: .1rem; }
  .collection-photo { align-self: center; display: flex; flex-direction: column; }
  .collection-photo img { width: 100%; min-height: 0; height: auto; object-fit: cover; object-position: 50% 50%; border-radius: 48% 48% 3px 3px; aspect-ratio: 1; }
  .collection-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; color: var(--muted); font-size: .75rem; letter-spacing: .1em; }
  .collection-photo figcaption span:last-child { color: var(--rust); font-family: var(--serif); font-size: 1.125rem; font-style: italic; letter-spacing: -.03em; }
  .collection-layout--catalog { align-items: start; }
  .collection-photo.collection-photo--real { align-self: start; }
  .collection-photo--real img { aspect-ratio: 3 / 4; object-fit: contain; border-radius: 4px; }
  .candle-catalog { min-width: 0; }
  .catalog-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; padding-bottom: 1.3rem; }
  .catalog-heading > span { color: var(--muted); font-size: .75rem; letter-spacing: .08em; }
  .scent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
  .scent-grid li { display: flex; align-items: baseline; gap: .65rem; padding-block: 1rem; border-top: 1px solid var(--line); min-width: 0; }
  .scent-index { color: #94714c; font-family: var(--serif); font-size: .8125rem; flex-shrink: 0; }
  .scent-grid h4 { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; font-weight: 400; }
  .availability-note { margin-top: 1.5rem; padding: 1.3rem 1.4rem; background: #f1e7d6; border-left: 2px solid var(--gold); }
  .availability-note h3 { font-size: 1.3rem; line-height: 1.4; letter-spacing: -.02em; }
  .availability-note p { margin-top: .5rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }
  .scent { display: flex; gap: 1.2rem; padding-block: 1.8rem; border-top: 1px solid var(--line); }
  .scent:last-child { border-bottom: 1px solid var(--line); }
  .scent-number { font-family: var(--serif); color: #94714c; font-size: .875rem; padding-top: .4rem; }
  .scent-content { width: 100%; }
  .scent-heading { display: flex; gap: .65rem 1rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
  h3 { font-size: 1.8rem; line-height: 1.2; letter-spacing: -.035em; }
  .scent-mood { font-size: .75rem; color: var(--muted); white-space: nowrap; }
  .scent-notes { font-size: .875rem; color: var(--rust-dark); margin-top: .45rem; }
  .scent-description { font-size: .9375rem; color: var(--muted); margin-top: .75rem; line-height: 1.7; max-width: 29rem; }
  .art-collection { background: #f2e8d8; border-top: 1px solid var(--line); }
  .art-copy h2 { margin-top: .9rem; font-size: clamp(2.8rem, 4vw, 4rem); }
  .art-copy h2 em { color: var(--rust); }
  .art-copy > p:not(.eyebrow) { max-width: 27rem; margin-top: 1.3rem; color: var(--muted); font-size: 1rem; line-height: 1.85; }
  .collection-status { display: inline-block; margin-top: 1.7rem; border: 1px solid #bcab92; border-radius: 2rem; padding: .5rem 1rem; font-size: .875rem; color: #66513e; }
  .art-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
  .art-photo figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .9rem; color: var(--muted); font-size: .75rem; letter-spacing: .08em; }
  .art-photo figcaption span:last-child { font-family: var(--serif); font-size: 1.125rem; font-style: italic; color: var(--rust); letter-spacing: -.03em; }
  .our-world { background: var(--olive); color: var(--cream); }
  .world-label { padding-top: .8rem; }
  .world-label .eyebrow { color: #e5d7bd; }
  .world-line { display: block; width: 3rem; height: 1px; margin-top: 1.3rem; background: #a2a084; }
  .world-copy { max-width: 40rem; }
  .world-copy h2 { font-size: clamp(2.8rem, 4.3vw, 4.25rem); line-height: 1.15; }
  .world-copy h2 em { color: #e8c68b; }
  .world-copy p { font-size: 1rem; line-height: 1.9; max-width: 32rem; margin-top: 1.5rem; color: #e6dfd1; }
  .world-copy p + p { margin-top: 1rem; }
  .text-link { display: inline-flex; gap: 2rem; align-items: center; margin-top: 1.7rem; font-size: .9375rem; border-bottom: 1px solid #b9b599; padding-bottom: .4rem; transition: color 180ms ease; }
  .text-link:hover { color: #e8c68b; }
  .text-link span { font-size: 1.3rem; }
  .world-signoff { position: absolute; bottom: 5rem; left: 1.5rem; font-family: var(--serif); font-size: 2.1rem; line-height: 1.05; font-style: italic; color: #d1bc94; transform: rotate(-8deg); }
  .world-signoff span { padding-left: 1.3rem; }
  .footer-brand .brand-name { font-size: 1.8rem; }
  .footer-brand .brand-mark { width: 3rem; height: 3rem; }
  .footer-logo { width: 9rem; height: auto; mix-blend-mode: multiply; }
  .site-footer > p { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
  .back-top { justify-self: end; display: inline-flex; align-items: center; gap: 1.4rem; font-size: .875rem; }
  .back-top span { font-size: 1.2rem; }
  .footer-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .5rem 1rem; width: 100%; min-width: 0; }
  .footer-contact > span { color: var(--muted); font-size: .875rem; }
  .footer-contact a { min-width: 0; max-width: 100%; color: var(--rust-dark); font-size: 1rem; text-decoration: underline; text-underline-offset: .25em; overflow-wrap: anywhere; }
  .footer-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
}

@layer responsive {
  @media (min-width: 1600px) {
    .hero { gap: 6rem; }
    .hero-copy { padding-left: 1rem; }
  }
  @media (max-width: 1150px) {
    .wrap { width: calc(100% - 5rem); }
    .site-header { gap: 1.25rem; }
    .main-nav { gap: 1.8rem; }
    .brand-name { font-size: 1.8rem; }
    .brand-subline { font-size: .75rem; letter-spacing: .08em; }
    .hero { gap: 2.5rem; }
    h1 { font-size: clamp(3.5rem, 6.2vw, 5rem); }
    .hero-photo-frame { aspect-ratio: 4 / 5.6; }
    .hero-footnote { margin-top: 2.3rem; }
    .collection-layout { gap: 2.5rem; }
    .art-inner { gap: 3rem; }
    .scent-heading { display: block; }
    .scent-mood { display: block; margin-top: .4rem; }
    .world-inner { column-gap: 2.5rem; }
    .site-footer { grid-template-columns: 1fr 1fr; }
    .site-footer > p { display: none; }
  }
  @media (max-width: 850px) {
    .wrap { width: calc(100% - 3rem); }
    .site-header { padding-block: 1.3rem; flex-wrap: wrap; gap: 1.2rem; }
    .brand-mark { width: 2.8rem; height: 2.8rem; }
    .brand-name { font-size: 1.75rem; }
    .main-nav { margin-left: auto; font-size: .875rem; gap: 1.4rem; }
    .header-link { display: none; }
    .hero { padding-block: 2rem 3rem; gap: 1.8rem; }
    .hero-copy { padding-block: 1.7rem; }
    h1 { font-size: 3.35rem; }
    .hero .eyebrow { font-size: .75rem; letter-spacing: .08em; margin-bottom: 1.4rem; gap: .65rem; }
    .small-line { width: 1rem; }
    .hero-description { font-size: 1rem; margin-top: 1.3rem; }
    .hero-footnote { display: none; }
    .button { gap: 1.4rem; padding-inline: 1.35rem; margin-top: 1.7rem; }
    .hero-visual { margin-right: .8rem; }
    .hero-photo-frame { aspect-ratio: 3 / 5.1; border-top-left-radius: 47%; border-top-right-radius: 47%; }
    .sunshine-note { width: 6rem; top: .7rem; right: -.9rem; font-size: 1.4rem; }
    .vertical-note { right: -1.4rem; font-size: .75rem; letter-spacing: .06em; }
    .mood-strip-inner { font-size: 1.15rem; gap: 1rem; }
    .collection { padding-block: 4rem; }
    .section-intro { gap: 1.5rem; align-items: start; }
    .section-intro > p { font-size: .9375rem; padding-top: 1.8rem; }
    .collection-layout { gap: 2rem; grid-template-columns: .9fr 1.1fr; }
    .scent-grid { grid-template-columns: 1fr; }
    .art-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding-block: 4rem; }
    .collection-photo img { object-position: 51% center; }
    .collection-photo figcaption { display: block; }
    .collection-photo figcaption span:last-child { display: none; }
    .scent { gap: .8rem; padding-block: 1.3rem; }
    h3 { font-size: 1.65rem; }
    .world-inner { grid-template-columns: 1fr; padding-block: 3.8rem 4.3rem; }
    .world-label { margin-bottom: 2rem; }
    .world-line, .world-signoff { display: none; }
    .world-copy { max-width: 37rem; }
    .world-copy h2 { font-size: 3.3rem; }
  }
  @media (max-width: 740px) {
    .wrap { width: calc(100% - 2.5rem); }
    .site-header { justify-content: center; padding-block: 1.2rem 1rem; gap: .9rem; }
    .brand { gap: .6rem; }
    .brand-mark { width: 3rem; height: 3rem; }
    .brand-name { font-size: 1.9rem; }
    .brand-subline { font-size: .75rem; }
    .main-nav { width: 100%; justify-content: center; margin: 0; gap: .5rem 1.3rem; }
    .main-nav a { padding-block: .3rem; }
    .hero { display: flex; flex-direction: column; padding-block: 2.5rem 2.5rem; gap: 2.6rem; }
    .hero-copy { padding: 0; width: 100%; text-align: center; }
    .hero .eyebrow { justify-content: center; letter-spacing: .11em; margin-bottom: 1.3rem; }
    .small-line { display: none; }
    h1 { font-size: clamp(3.25rem, 12.7vw, 4.8rem); line-height: 1.06; letter-spacing: -.06em; }
    .hero-description { max-width: 21rem; margin-inline: auto; margin-top: 1.2rem; font-size: 1rem; line-height: 1.8; }
    .button { margin-top: 1.55rem; padding: .85rem 1.5rem; gap: 2.5rem; }
    .hero-actions { justify-content: center; gap: .9rem 1.5rem; margin-top: 1.55rem; }
    .hero-actions .button { margin-top: 0; }
    .hero-visual { width: min(100% - 1rem, 440px); margin-inline: auto; }
    .hero-photo-frame { aspect-ratio: 4 / 4.4; }
    .sunshine-note { width: 6.2rem; top: .7rem; right: -.55rem; font-size: 1.45rem; }
    .vertical-note { right: -1.2rem; letter-spacing: .05em; }
    .photo-caption { padding-inline: 1rem; padding-bottom: 1rem; font-size: .75rem; letter-spacing: .06em; }
    .mood-strip-inner { flex-wrap: wrap; justify-content: center; padding-block: 1rem; gap: .3rem 1rem; font-size: 1.1rem; }
    .mood-strip-inner > :nth-last-child(2) { display: none; }
    .mood-strip-inner > :last-child { width: 100%; text-align: center; }
    .separator { font-size: 1rem; }
    .collection { padding-block: 3.5rem; }
    .section-intro { display: block; margin-bottom: 1.8rem; }
    h2 { font-size: 2.6rem; }
    .section-intro > p { padding-top: .8rem; font-size: .9375rem; }
    .section-intro > p br { display: none; }
    .collection-layout { grid-template-columns: 1fr; gap: 2rem; }
    .art-inner { grid-template-columns: 1fr; padding-block: 3.5rem; }
    .art-copy h2 { font-size: 2.7rem; }
    .collection-photo { min-height: 0; }
    .collection-photo img { aspect-ratio: 1.18; flex: auto; }
    .collection-photo--real img { aspect-ratio: 3 / 4; }
    .scent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
    .scent-grid h4 { font-size: 1.1rem; }
    .catalog-heading h3 { font-size: 1.7rem; }
    .hero-visual.hero-visual--logo { width: 100%; max-width: 440px; margin-inline: auto; }
    .collection-photo figcaption { display: flex; padding-top: .75rem; }
    .collection-photo figcaption span:last-child { display: inline; }
    .scent { gap: 1rem; padding-block: 1.5rem; }
    .scent-heading { display: flex; }
    .scent-mood { margin-top: 0; }
    h3 { font-size: 1.7rem; }
    .scent-notes { font-size: .875rem; }
    .scent-description { font-size: 1rem; margin-top: .65rem; }
    .world-inner { padding-block: 3rem 3.5rem; }
    .world-label { margin-bottom: 1.4rem; }
    .world-copy h2 { font-size: clamp(2.45rem, 9.25vw, 3.3rem); }
    .world-copy p { font-size: 1rem; }
    .site-footer { display: flex; flex-direction: column; gap: 1.5rem; text-align: center; padding-block: 2.5rem 1.3rem; }
    .site-footer > p { display: block; font-size: 1.1rem; }
    .back-top { font-size: .875rem; }
    .footer-bottom { flex-direction: column; gap: .35rem; width: 100%; margin-top: .3rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
  @media (max-width: 380px) {
    .scent-grid { grid-template-columns: 1fr; }
    .scent-grid h4 { font-size: 1.2rem; }
  }
}
