@font-face {
    font-family: "Schibsted Grotesk";
    src: url("fonts/schibsted-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

:root {
    --paper: #efefeb;
    --ground: #e1e1db;
    --sage: #cbd2c4;
    --wood: #d8d4cb;
    --ink: #203d35;
    --muted: #46574e;
    --white: #fff;
    --font: "Schibsted Grotesk", Arial, sans-serif;
    --small: 14px;
    --body: 17px;
    --lead: 24px;
    --heading: clamp(36px, 4.2vw, 60px);
    --display: clamp(54px, 5.25vw, 80px);
    --gutter: clamp(20px, 3.3vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p, figure { margin: 0; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, a, summary, label { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.055em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: var(--display); font-weight: 800; }
h2 { font-size: var(--heading); }
h3 { font-size: var(--lead); letter-spacing: -.035em; }
p { max-width: 52ch; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 14px; background: var(--ink); color: var(--paper); }

.site-header { position: relative; z-index: 10; height: 100px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--ground); }
.wordmark { display: inline-flex; gap: 10px; align-items: center; font-size: var(--lead); font-weight: 800; letter-spacing: -.055em; }
.wordmark img { width: 32px; height: 43px; object-fit: contain; mix-blend-mode: multiply; }
.desktop-nav { display: flex; align-items: center; gap: 36px; }
.desktop-nav a, .header-cart, .products-menu summary { font-size: var(--small); font-weight: 600; }
.desktop-nav a, .footer-content nav a { transition: transform .2s ease; }
.desktop-nav a:hover { transform: translateY(-3px); }
.header-cart { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 44px; }
.header-cart svg { transition: transform .25s ease; }
.header-cart:hover svg { transform: translateY(-3px); }
.products-menu { position: relative; }
.products-menu summary, .mobile-products-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; list-style: none; cursor: pointer; }
.products-menu summary::-webkit-details-marker, .mobile-products-menu summary::-webkit-details-marker { display: none; }
.products-menu summary svg, .mobile-products-menu summary svg { transition: transform .2s ease; }
.products-menu[open] > summary svg, .mobile-products-menu[open] > summary svg { transform: rotate(180deg); }
.products-popover { position: absolute; top: calc(100% + 8px); left: -20px; min-width: 220px; padding: 12px; background: var(--ink); color: var(--paper); }
.products-popover a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; font-size: 16px; }
.desktop-nav .products-popover a:hover { background: var(--muted); transform: translateX(3px); }
.mobile-menu { display: none; }

.hero { position: relative; display: grid; grid-template-columns: 56% 44%; min-height: 640px; background: var(--ground); overflow: hidden; }
.hero-carousel { position: relative; min-width: 0; display: flex; flex-direction: column; background: var(--wood); }
.hero-slides { position: relative; flex: 1; min-height: 640px; overflow: hidden; touch-action: pan-y; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility .65s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-carousel-controls { position: absolute; z-index: 2; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; }
.hero-carousel-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--white); transition: transform .2s ease; }
.hero-carousel-controls button:hover { transform: translateY(-2px); }
.hero-carousel-controls button:active { transform: scale(.94); }
.carousel-dots { display: flex; }
.carousel-dots span { width: 8px; height: 8px; background: var(--white); opacity: .65; border-radius: 50%; outline: 2px solid var(--ink); transition: transform .2s ease, opacity .2s ease; }
.carousel-dots [aria-current="true"] span { opacity: 1; transform: scale(1.45); }
.carousel-dots button:focus-visible { outline-color: var(--white); background: var(--ink); }
[hidden] { display: none !important; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 40px var(--gutter); }
.hero-copy h1 { margin-bottom: 28px; width: 100%; }
.hero-copy p { max-width: 36ch; margin-bottom: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 40px; min-height: 56px; padding: 16px 24px; background: var(--ink); color: var(--paper); font-size: var(--body); font-weight: 600; transition: transform .22s ease, opacity .22s ease; }
.button:hover { transform: translateY(-4px); }
.button:active { transform: translateY(0) scale(.98); }
.button span { font-size: var(--lead); line-height: 1; }

.collection { padding-top: 120px; }
.section-intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 60px; padding: 0 var(--gutter) 56px; }
.section-intro h2 { max-width: 12ch; }
.section-intro p { max-width: 29ch; font-size: var(--lead); line-height: 1.4; }
.material-pair { display: grid; grid-template-columns: 1fr 1fr; }
.piece { min-width: 0; overflow: hidden; }
.piece-wood { background: var(--wood); }
.piece-fabric { background: var(--sage); }
.piece-photo { height: clamp(340px, 34vw, 530px); overflow: hidden; }
.piece-photo img { height: 100%; width: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.25,1); }
.piece:hover .piece-photo img { transform: scale(1.035); }
.piece-wood .piece-photo img { object-position: 50% 47%; }
.piece-fabric .piece-photo img { object-position: 50% 52%; }
.piece-copy { padding: 32px var(--gutter) 40px; }
.piece-copy h3 { margin-bottom: 16px; }
.piece-copy p { max-width: 41ch; margin-bottom: 24px; }
.text-link { display: inline-block; padding: 8px 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: transform .2s ease; }
.text-link:hover { transform: translateX(5px); }
.text-link:active { transform: translateX(2px); }

.accessories { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 9%; padding: 120px var(--gutter); }
.accessories-copy h2 { max-width: 10ch; margin-bottom: 28px; }
.accessories-copy p { max-width: 40ch; margin-bottom: 24px; }
.accessories figure { min-width: 0; }
.accessories img { width: 100%; max-height: 500px; object-fit: cover; object-position: center; }
.accessories figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; font-size: var(--small); }
.accessories figcaption span:first-child { font-weight: 600; }

.craft { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12%; margin: 0 var(--gutter) 120px; padding: 64px 5.3% 0; background: var(--ink); color: var(--paper); overflow: hidden; }
.craft-visual h2 { max-width: 12ch; margin-bottom: 48px; }
.craft-visual > img { width: 100%; height: 470px; object-fit: cover; object-position: 50% 30%; }
.craft-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 52px; padding: 60px 0; }
.craft-copy > p { font-size: var(--lead); line-height: 1.4; letter-spacing: -.025em; }
.craft-copy h3 { max-width: 17ch; margin-bottom: 20px; }
.craft-copy p { max-width: 34ch; }

.contact { min-height: 650px; position: relative; display: flex; align-items: center; justify-content: flex-end; padding: 64px var(--gutter); overflow: hidden; background: var(--wood); }
.contact-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 25% 54%; }
.contact-panel { position: relative; width: min(470px, 43%); padding: 48px; background: var(--paper); }
.contact-panel h2 { font-size: clamp(36px, 3.2vw, 46px); margin-bottom: 24px; max-width: 12ch; }
.contact-panel > p { margin-bottom: 32px; }
.contact-panel .button { width: 100%; }
.contact-panel .contact-note { font-size: var(--small); color: var(--muted); margin: 20px 0 0; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--paper); }
.footer-photo { max-height: 480px; overflow: hidden; }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 70%; transform: scale(1.25); }
.footer-content { padding: 60px var(--gutter) 32px; }
.footer-brand { display: inline-block; font-size: var(--heading); line-height: 1; font-weight: 800; letter-spacing: -.065em; margin-bottom: 24px; }
.footer-content > p { max-width: 27ch; margin-bottom: 32px; }
.footer-content nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.footer-content nav a { width: fit-content; min-height: 32px; }
.footer-content nav a:hover { transform: translateX(5px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 60px; font-size: var(--small); }
.footer-bottom small { font-size: inherit; }
.footer-bottom a { padding-bottom: 8px; }

[data-reveal].is-revealing { animation: reveal .75s cubic-bezier(.2,.65,.25,1) both; }
@keyframes reveal { from { opacity: .15; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) {
    .hero { min-height: 720px; }
    .hero-slides { min-height: 720px; }
    .hero-copy { padding-left: 48px; }
}

@media (max-width: 1100px) {
    :root { --display: 60px; --heading: 46px; }
    .desktop-nav { gap: 24px; }
    .hero { grid-template-columns: 53% 47%; min-height: 590px; }
    .hero-slides { min-height: 590px; }
    .hero-copy p { max-width: 30ch; }
    .section-intro { gap: 48px; }
    .craft { gap: 8%; padding: 48px 5% 0; }
    .craft-copy { padding-top: 36px; gap: 36px; }
    .craft-copy > p { font-size: var(--body); }
    .contact-panel { width: 47%; padding: 36px; }
}

@media (max-width: 800px) {
    :root { --display: 64px; --heading: 46px; }
    .site-header { height: 88px; }
    .hero { display: flex; flex-direction: column; }
    .hero-slides { flex: none; min-height: 0; height: clamp(260px, 62vw, 460px); }
    .hero-carousel-controls { bottom: 12px; }
    .hero-copy { order: 1; padding: 24px var(--gutter) 32px; }
    .hero-copy h1 { margin-bottom: 24px; }
    .hero-copy p { max-width: 40ch; }
    .section-intro { grid-template-columns: 1.1fr 1fr; gap: 32px; }
    .section-intro p { font-size: var(--body); }
    .piece-copy { padding: 28px 24px 32px; }
    .piece-photo { height: 350px; }
    .accessories { gap: 6%; padding-top: 88px; padding-bottom: 88px; }
    .accessories-copy h2 { font-size: 36px; }
    .craft { grid-template-columns: 1fr 1fr; gap: 7%; padding-top: 40px; margin-bottom: 88px; }
    .craft-visual h2 { font-size: 36px; margin-bottom: 32px; }
    .craft-visual > img { height: 500px; }
    .craft-copy { padding-top: 0; }
    .contact { min-height: 600px; }
    .contact-panel { width: 52%; padding: 28px; }
    .contact-panel h2 { font-size: 36px; }
    .footer-content { padding-top: 44px; }
    .footer-brand { font-size: 46px; }
}

@media (max-width: 580px) {
    :root { --small: 14px; --body: 16px; --lead: 24px; --heading: 38px; --display: clamp(38px, 11.6vw, 56px); --gutter: 20px; }
    .site-header { height: 80px; gap: 16px; }
    .wordmark { font-size: 24px; }
    .wordmark img { width: 28px; height: 36px; }
    .desktop-nav { display: none; }
    .header-cart { margin-left: auto; }
    .cart-label { display: none; }
    .mobile-menu { display: block; position: relative; z-index: 10; }
    .mobile-menu summary { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; list-style: none; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu nav { position: absolute; top: 55px; right: 0; width: 240px; padding: 20px; background: var(--ink); color: var(--paper); }
    .mobile-menu nav a { display: block; padding: 12px 8px; }
    .mobile-menu .mobile-products-menu summary { justify-content: space-between; min-height: 48px; padding: 12px 8px; font-weight: 600; }
    .mobile-product-links { padding-left: 12px; }
    .mobile-product-links a { font-size: 16px; }
    .hero-copy { padding: 16px var(--gutter) 28px; }
    .hero-copy h1 { margin-bottom: 20px; }
    .hero-copy p { max-width: 34ch; margin-bottom: 24px; }
    .hero-copy .button { min-height: 54px; gap: 36px; }
    .collection { padding-top: 76px; }
    .section-intro { display: block; padding-bottom: 32px; }
    .section-intro h2 { max-width: 12ch; margin-bottom: 24px; }
    .section-intro p { max-width: 31ch; }
    .material-pair { grid-template-columns: 1fr; }
    .piece-photo { height: 340px; }
    .piece-copy { padding: 28px var(--gutter) 32px; }
    .piece-copy p { max-width: 36ch; margin-bottom: 16px; }
    .accessories { grid-template-columns: 1fr; gap: 32px; padding-top: 76px; padding-bottom: 76px; }
    .accessories-copy h2 { font-size: var(--heading); max-width: 12ch; margin-bottom: 24px; }
    .accessories-copy p { margin-bottom: 16px; }
    .accessories img { max-height: 400px; }
    .accessories figcaption { display: block; }
    .accessories figcaption span { display: block; }
    .craft { grid-template-columns: 1fr; gap: 32px; padding: 36px 24px 0; margin: 0 12px 76px; }
    .craft-visual { display: contents; }
    .craft-visual h2 { font-size: var(--heading); max-width: 13ch; margin: 0; }
    .craft-visual > img { order: 3; height: 340px; width: calc(100% + 48px); max-width: none; margin-left: -24px; }
    .craft-copy { gap: 28px; padding: 0; }
    .craft-copy h3 { max-width: 22ch; }
    .craft-copy p { max-width: 34ch; }
    .contact { min-height: 0; padding: 280px 20px 24px; }
    .contact-photo { height: 380px; object-position: 25% 30%; }
    .contact-panel { width: 100%; padding: 28px; }
    .contact-panel h2 { font-size: 36px; max-width: 12ch; }
    .contact-panel > p { margin-bottom: 24px; }
    .site-footer { grid-template-columns: 1fr; }
    .footer-photo { height: 230px; }
    .footer-photo img { object-position: 40% 80%; }
    .footer-content { padding: 40px 20px 24px; }
    .footer-brand { font-size: 46px; }
    .footer-content > p { max-width: 30ch; }
    .footer-content nav { gap: 12px 24px; }
    .footer-bottom { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
