:root {
  color-scheme: light;
  font: 14px/1.65 "Urbanist", sans-serif;
  color: #444;
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { width: min(100% - 2rem, 64rem); margin-inline: auto; }
.menu-toggle { display: none; }
header { display: flex; align-items: stretch; justify-content: space-between; gap: 1rem; padding: 0 3rem 0 0; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #ddd; }
.logo-container { align-self: flex-start; padding: 0; background: transparent; box-shadow: none; }
body.home { position: relative; }
body:not(.home) .site-header { margin-top: 12px; border-top-color: rgba(0, 0, 0, .15); }
body:not(.home) .site-header .logo-default { opacity: 0; }
body:not(.home) .site-header .logo-scrolled { opacity: 1; }
@media (min-width: 48.001rem) {
  body:not(.home) .site-header nav { transform: translateY(2rem); }
  body:not(.home) .site-header.is-scrolled nav { transform: none; }
}
body.home header { position: absolute; top: 12px; left: 50%; right: auto; z-index: 10; transform: translateX(-50%); background: transparent; border-top: 1px solid rgba(0, 0, 0, .15); border-bottom: 0; color: #111; }
body.home .logo-container { position: relative; z-index: 1; margin-top: -1px; padding: 0; border-top: 0; background: transparent; }

body.home nav a { color: #111; }
body.home nav { align-self: center; transform: translateY(2rem); }
.site-header.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  width: 100%;
  margin: 0;
  padding: 0 3rem;
  transform: none;
  align-items: center;
  border-top-color: #d1d5db;
  border-bottom: 1px solid #ddd;
  background: #fff;
  color: #111;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.site-header.is-scrolled .logo-container { margin-top: 0; padding: 0; border-top: 0; background: transparent; box-shadow: none; }
.logo-default, .logo-scrolled { transition: opacity .25s ease; }
.logo-scrolled { opacity: 0; }
.site-header.is-scrolled .logo-default { opacity: 0; }
.site-header.is-scrolled .logo-scrolled { opacity: 1; }
.site-header.is-scrolled nav { transform: none; }

body.home main { padding-top: 0; }
@media (min-width: 48.001rem) { body.home main { padding-top: 6rem; } }
body.home .home-hero { display: block; width: 100%; height: auto; margin: 0 auto 2rem; overflow: hidden; }
body.home .home-hero img { display: block; width: 100%; height: auto; object-fit: cover; }
@media (max-width: 48rem) {
  header { align-items: center; padding-right: 1rem; }
  .logo-container { padding: 0; }
  .site-name { width: 6.4rem; height: 2.9rem; }
  .site-header.is-scrolled { padding-inline: 1rem; }
  .site-header.is-scrolled .logo-container { padding: 0; }
  .site-header.is-scrolled .site-name { width: 4.2rem; height: 4.2rem; }
  .menu-toggle {
    display: flex;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: .2rem 0;
    padding: .5rem;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 2px;
    background: rgba(255, 255, 255, .82);
    color: #111;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 1.1rem; height: 1px; background: currentColor; }
  .site-header nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    flex-direction: column;
    gap: .15rem;
    padding: .6rem 1rem;
    border: 1px solid #ddd;
    background: #fff;
    color: #111;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
    transform: none;
  }
  .site-header.menu-open nav { display: flex; }
  .site-header nav a { display: block; padding: .6rem 0; text-decoration: none; }
  .site-header nav a + a { border-top: 1px solid #eee; }
  body.home header { align-items: flex-start; flex-direction: row; gap: .5rem; padding: 0 1rem 0 0; }
  body.home nav { gap: .15rem; transform: none; }
  body.home nav a { text-shadow: none; }
}
.site-name { position: relative; display: block; width: 10.8rem; height: 4.8rem; flex: 0 0 auto; }
.site-name img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.logo-default { opacity: 1; transform: scale(1.2); }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
a { color: inherit; }
main { min-height: 70vh; padding-block: 2rem; }
.home-hero { display: block; width: 100%; height: auto; margin: 0 auto 2rem; }
.home-hero img { display: block; width: 100%; height: auto; object-fit: cover; }
h1, h2, h3, h4 { font-family: "Syne", sans-serif; font-weight: 400; letter-spacing: 0; }
h1 { font-size: 30px; line-height: 1.2; color: #222; }
h2 { font-size: 18px; line-height: 1.3; color: #777; }
h3, h4 { font-size: 18px; line-height: 1.3; color: #444; }
nav a { font-family: "Urbanist", sans-serif; font-size: 14px; font-weight: 600; }
.launch-card h2 { font-family: "Urbanist", sans-serif; font-size: 13px; line-height: 1.65; font-weight: 700; letter-spacing: 0; color: #444; }
.controls { display: flex; gap: .75rem; flex-wrap: wrap; margin-block: 1.5rem; }
input, select { font: inherit; padding: .65rem; border: 1px solid #aaa; border-radius: .25rem; }
input { min-width: min(100%, 18rem); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.card { border: 1px solid #ddd; padding: 1rem; border-radius: .3rem; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #f1f1f1; }
.brand-heading { display: flex; align-items: center; gap: 1.25rem; margin-block: 1.5rem 2rem; }
.brand-heading h1 { margin: 0; }
.brand-logo { width: min(10rem, 30%); max-height: 5rem; object-fit: contain; }
.brand-description { max-width: 48rem; color: #444; }
.brand-hero { width: 100%; max-height: 24rem; object-fit: cover; margin-block: 1rem 2rem; }
.featured-fragrance-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.featured-fragrance { padding: 1rem .75rem; border: 1px solid #ddd; border-radius: .3rem; text-align: center; }
.featured-fragrance img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: .65rem; background: #f1f1f1; }
.featured-fragrance a { font-weight: 600; text-decoration: none; }
@media (max-width: 48rem) { .featured-fragrance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .featured-fragrance-list { grid-template-columns: 1fr; } }
.muted { color: #555; }
.notice { padding: 1rem; background: #f5f5f5; }
body:not(.home) .footer-parallax-banner { display: none; }
.footer-parallax-banner {
  width: 100%;
  height: clamp(10rem, 14vw, 12rem);
  background-image: url("https://pub-437a56093e434d13b968029d18f3bbf8.r2.dev/assets/born_to_stand_out.webp");
  background-position: center calc(50% + var(--parallax-offset, 0px));
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 48rem) {
  .footer-parallax-banner { height: 11rem; background-attachment: scroll; }
}
footer { padding-block: 5.5rem; border-top: 1px solid #ddd; color: #555; font-size: .9rem; }
.site-footer { text-align: center; }
.footer-identity { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.footer-logo { display: block; width: 4.5rem; height: 4.5rem; object-fit: contain; }
.footer-copyright, .footer-note { margin: 0; }
.footer-copyright { line-height: 1.5; }
.footer-note { margin-top: .8rem; color: #777; }

.article { max-width: 48rem; }
.article h1 { max-width: 42rem; }
.article-body { font-size: 14px; line-height: 1.65; }
.article-body p { margin-block: 11px; }
.article-date, .article-brand { color: #555; }
.article-retailer { margin-block: 2rem; }
.article-retailer a { display: inline-block; padding: .75rem 1rem; border: 1px solid currentColor; border-radius: .25rem; text-decoration: none; }
.article-retailer a:hover { background: #f5f5f5; }



.launch-list-scroll { width: 100%; overflow-x: auto; }
.launch-list { min-width: 54rem; list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid #ddd; }
.launch-row { display: grid; grid-template-columns: minmax(15rem, 1fr) 13rem 8.5rem 12rem; align-items: center; gap: 1rem; min-height: 3.4rem; padding: .7rem .5rem; border-bottom: 1px solid #ddd; }
.launch-row[hidden] { display: none; }
.launch-date { color: #777; font-variant-numeric: tabular-nums; white-space: nowrap; }
.launch-brand, .launch-name, .launch-retailer { overflow-wrap: anywhere; }
.launch-name { line-height: 1.45; }
.launch-name strong { display: block; font-weight: 700; }
.launch-scent-notes { display: block; margin-top: .15rem; color: #777; font-size: .92em; }
.discovery-perfumes { list-style: none; margin: 0; padding: 0; }
.discovery-perfumes li + li { margin-top: .2rem; }
.discovery-perfumes li .launch-scent-notes { color: #666; }
.launch-brand { font-weight: 600; }
.launch-retailer { color: #555; }
.launch-heading { min-height: 2.7rem; color: #777; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.load-more-launches { display: block; margin: 1.5rem auto 0; padding: .65rem 1.1rem; border: 1px solid #aaa; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.load-more-launches:hover { background: #f5f5f5; }
.brand-launch-list { margin-top: 1rem; }

.brand-filter-section { margin-block: 1.5rem; }
.brand-filter-section h2 { margin-bottom: .75rem; }
.brand-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.brand-filter { padding: .45rem .75rem; border: 1px solid #bbb; border-radius: 999px; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.brand-filter:hover, .brand-filter.is-active { border-color: #444; background: #444; color: #fff; }
.brand-list { columns: 3; column-gap: 2rem; }
.brand-list li { break-inside: avoid; padding-block: .15rem; }
.brand-list li[hidden] { display: none; }
@media (max-width: 48rem) { .brand-list { columns: 2; } }
@media (max-width: 36rem) { .brand-list { columns: 1; } }


@media (max-width: 48rem) {
  .launch-list-scroll { overflow-x: visible; }
  .launch-list { min-width: 0; }
  .launch-row { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .75rem; padding-inline: .25rem; }
  .launch-name { grid-column: 1 / -1; grid-row: 1; }
  .launch-brand { grid-column: 1; grid-row: 2; }
  .launch-retailer { grid-column: 2; grid-row: 2; text-align: right; }
  .launch-date, .launch-heading span:nth-child(3) { display: none; }
  .launch-heading span:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
  .launch-heading span:nth-child(2) { grid-column: 1; grid-row: 2; }
  .launch-heading span:nth-child(4) { grid-column: 2; grid-row: 2; text-align: right; }
}

/* Mobile header follows the original site's white masthead and dark menu overlay. */
@media (max-width: 48rem) {
  body.home .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: none;
    margin: 1rem 0 0;
    padding: .45rem 1rem;
    transform: none;
    align-items: center;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    color: #111;
  }
  .site-header:not(.menu-open) .site-name {
    width: 9rem;
    height: 4.8rem;
  }
  .site-header:not(.menu-open) .menu-toggle {
    width: 3rem;
    height: 3rem;
    margin: 0;
    padding: .45rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #bdbdbd;
  }
  .site-header:not(.menu-open) .menu-toggle span {
    width: 1.5rem;
    height: 2px;
  }
  .site-header.menu-open,
  body.home .site-header.menu-open {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: none;
    background: #111;
    border: 0;
    color: #fff;
    box-shadow: none;
  }
  .site-header.menu-open .logo-container { display: none; }
  .site-header.menu-open .menu-toggle {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 2;
    width: 3rem;
    height: 3rem;
    margin: 0;
    padding: .5rem;
    border: 0;
    background: transparent;
    color: #fff;
  }
  .site-header.menu-open .menu-toggle span {
    position: absolute;
    width: 1.6rem;
    height: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }
  .site-header.menu-open nav {
    top: 50%;
    right: auto;
    left: clamp(2rem, 13vw, 5rem);
    display: flex;
    width: max-content;
    max-width: calc(100% - 4rem);
    padding: 0;
    gap: clamp(2rem, 7vh, 3.5rem);
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-header.menu-open nav a {
    padding: 0;
    border: 0;
    color: #f4f4f4;
    font-size: clamp(1.25rem, 4.5vw, 1.7rem);
    font-weight: 300;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
  }
}

@media (max-width: 48rem) { body.menu-is-open { overflow: hidden; } }

@media (max-width: 48rem) {
  .site-header:not(.menu-open) .logo-default { opacity: 0; }
  .site-header:not(.menu-open) .logo-scrolled { opacity: 1; }
}

.contact-page { max-width: 42rem; }
.contact-page > p { margin: .6rem 0 1.5rem; }
.contact-form { display: grid; gap: .55rem; max-width: 38rem; }
.contact-form label { margin-top: .55rem; font-weight: 600; }
.contact-form .contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; padding: .75rem; border: 1px solid #aaa; border-radius: 0; background: #fff; color: inherit; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid #74684f; outline-offset: 2px; }
.contact-form-note { margin: .35rem 0; color: #777; font-size: .9rem; }
.contact-form button { justify-self: start; padding: .7rem 1rem; border: 1px solid #444; background: #444; color: #fff; font: inherit; }
.contact-form button:disabled { border-color: #aaa; background: #aaa; cursor: not-allowed; }
