@font-face {
    font-family: 'Nora Round';
    src: url('./assets/nora-round.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

:root {
    --orange: #ff6500;
    --cobalt: #1634e8;
    --black: #080808;
    --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--black); background: var(--white); font: 16px/1.5 Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
[hidden], .hidden { display: none !important; }
[id] { scroll-margin-top: 125px; }
:focus-visible { outline: 4px solid var(--cobalt); outline-offset: 4px; }
h1, h2, h3, .brand, .nav-links, .cta-button, .filter-btn, .product-card a, .tile .link {
    font-family: 'Nora Round', 'Arial Rounded MT Bold', Arial, sans-serif;
    font-weight: 900;
}
.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; z-index: 200; left: -9999px; top: 1rem; padding: .75rem 1rem; background: #000; color: #fff; }
.skip-link:focus { left: 1rem; }

/* The compact wordmark and four evenly spaced links frame the hero. */
.navbar { position: sticky; top: 0; z-index: 20; background: #fff; }
.navbar nav { min-height: 110px; max-width: 1487px; margin: auto; padding: 8px 3%; display: flex; align-items: center; gap: 4%; }
.brand { flex: 0 0 300px; display: flex; flex-direction: column; align-items: flex-start; color: #000; text-decoration: none; line-height: .85; font-size: 60px; }
.brand small { margin-top: 8px; font-size: 15px; letter-spacing: .2em; line-height: 1; }
.nav-links { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; padding: 0; margin: 0; }
.nav-links a { display: block; white-space: nowrap; text-decoration: none; font-size: clamp(17px, 1.65vw, 24px); }
.nav-links a:hover { color: var(--orange); }
.nav-links a.is-active { border-bottom: 6px solid var(--orange); padding-bottom: 5px; }

.hero { position: relative; min-height: 740px; max-width: 1487px; margin: auto; overflow: hidden; }
.hero-decoration { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; opacity: 1; }
.hero-content { position: relative; z-index: 1; min-height: 740px; padding: 35px 3% 25px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 500px) minmax(150px, 210px); align-items: center; gap: clamp(12px, 2vw, 30px); }
.hero-copy { align-self: start; padding-top: 40px; }
.hero-copy p { max-width: 36ch; margin-top: 20px; padding: 8px 10px; background: var(--white); font-size: 18px; line-height: 1.5; }
.hero h1 { font-size: clamp(54px, 5.9vw, 88px); line-height: 1.02; letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-image { align-self: center; min-width: 0; text-align: center; }
.product-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 610px; object-fit: cover; object-position: bottom; }
.hero-image figcaption { margin-top: 6px; font-size: 13px; background: #fff; }
.cta-button { width: 100%; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--orange); color: #000; border-radius: 50%; text-align: center; text-decoration: none; font-size: clamp(27px, 2.8vw, 42px); line-height: 1; }
.cta-button { margin-top: 100px; }
.cta-button:hover { transform: scale(1.03); }
.cta-button:focus-visible { outline-color: #000; }

.category-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; background: #fff; }
.tile { min-height: 270px; padding: 38px 7%; background: var(--orange); color: #000; }
.tile--orange { background: var(--cobalt); color: #fff; }
.tile h2 { max-width: 500px; font-size: clamp(38px, 4vw, 56px); line-height: 1.02; }
.tile--orange h2 { max-width: 380px; }
.tile p { margin-top: 14px; }
.tile .link { display: inline-block; margin-top: 18px; text-underline-offset: 4px; }
.tile--orange :focus-visible { outline-color: #fff; }

.personalization { max-width: 1487px; margin: auto; padding: 64px 3% 0; }
.personalization h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.1; }
.personalization-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 30px 0 0; list-style: none; counter-reset: steps; }
.personalization-steps li { counter-increment: steps; border-top: 4px solid var(--orange); padding-top: 16px; }
.personalization-steps li::before { content: '0' counter(steps); font-weight: 700; color: var(--cobalt); }
.personalization-steps h3 { margin-top: 8px; font-size: 24px; line-height: 1.2; }
.personalization-steps p { margin: 10px 0; }
.personalization-steps a { font-weight: 700; text-underline-offset: 4px; }
.gallery-section { max-width: 1487px; margin: auto; padding: 70px 3%; }
.gallery-section > h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.1; margin-bottom: 25px; }
.gallery-intro { margin-bottom: 24px; max-width: 760px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-btn { padding: 10px 18px; border: 2px solid #000; background: #fff; color: #000; cursor: pointer; }
.filter-btn:hover, .filter-btn[aria-pressed='true'] { background: var(--orange); color: #000; }
.status { color: #222; margin: 0 0 20px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.card-image { width: 100%; margin-bottom: 16px; }
.card-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: #f3f3f3; }
.card-photo--detail { object-fit: cover; object-position: bottom; }
.card-image figcaption { margin-top: 6px; font-size: 13px; }
.product-card h3 { font-size: 25px; line-height: 1.15; }
.product-card p { margin: 10px 0 18px; }
.product-card a { margin-top: auto; padding: 10px 14px; background: var(--orange); color: #000; text-decoration: none; }
.product-card a:hover { text-decoration: underline; }
.product-card .product-secondary-link { margin-top: 8px; padding: 4px 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.product-card .product-visual-link { display: block; width: 100%; margin: 0; padding: 0; background: transparent; }
.contact-section { padding: 60px 3%; background: #f4f4f4; }
.contact-section h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; margin-bottom: 22px; }
.contact-info { max-width: 680px; }
.contact-info p + p { margin-top: 12px; }
.contact-info a { color: #1029b5; }
.brand-attribution { margin-top: 30px; }

@media (min-width: 1101px) {
    .brand { font-size: 74px; }
    .brand small { font-size: 18px; }
}
@media (max-width: 1100px) {
    .brand { flex-basis: 220px; font-size: 50px; }
    .hero-content { grid-template-columns: minmax(0, 1fr) minmax(250px, 35%) minmax(140px, 18%); }
    .hero h1 { font-size: clamp(49px, 5.6vw, 65px); }
}
@media (max-width: 768px) {
    [id] { scroll-margin-top: 16px; }
    .navbar { position: relative; }
    .navbar nav { min-height: 0; padding: 18px 22px; flex-direction: column; align-items: flex-start; gap: 20px; }
    .brand { flex: none; font-size: 48px; }
    .brand small { font-size: 12px; }
    .nav-links { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
    .nav-links a { white-space: normal; font-size: 18px; }
    .nav-links a.is-active { display: inline-block; border-width: 4px; }
    .hero { min-height: 0; }
    .hero-decoration { top: auto; bottom: 0; height: auto; object-fit: contain; }
    .hero-content { min-height: 0; padding: 20px 22px 36px; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 18px; }
    .hero-copy { padding: 0; }
    .hero-copy p { margin-top: 12px; padding: 0; background: transparent; font-size: 16px; }
    .hero h1 { justify-self: start; padding: 0; font-size: clamp(42px, 9vw, 64px); }
    .hero-image { order: 3; width: min(100%, 400px); justify-self: center; }
    .product-photo { max-height: none; }
    .cta-button { order: 2; width: auto; min-height: 48px; aspect-ratio: auto; padding: 12px 22px; flex-direction: row; gap: .3em; border-radius: 28px; margin-top: 0; font-size: 20px; }
    .personalization { padding: 48px 22px 0; }
    .personalization-steps { grid-template-columns: 1fr; gap: 24px; }
    .category-tiles { grid-template-columns: 1fr; }
    .tile { min-height: 220px; padding: 32px 22px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .hero h1 { font-size: clamp(34px, 10vw, 42px); }
    .gallery-section { padding: 52px 22px; }
    .product-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .card-photo { max-height: 520px; }
    .contact-section { padding: 48px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
