:root {
  --ink: #2d2521;
  --muted: #836f61;
  --paper: #f8f5f1;
  --cream: #f1e7dc;
  --line: #e4d7cb;
  --white: #fffdfa;
  --espresso: #302722;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.site-header { position: relative; z-index: 5; max-width: 1440px; min-height: 82px; padding: 0 56px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-weight: 700; letter-spacing: .13em; font-size: 19px; }
.wordmark span { margin-left: 5px; font-weight: 400; letter-spacing: .22em; }
.header-controls { display: flex; align-items: center; gap: 25px; }
nav { display: flex; gap: 31px; font-size: 13px; color: var(--muted); }
nav a, footer a { transition: color .2s; }
nav a:hover, footer a:hover { color: var(--ink); }
.language-switch { display: flex; align-items: center; gap: 7px; color: #b29b88; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.language-button { padding: 4px 0; border: 0; cursor: pointer; color: inherit; background: transparent; font: inherit; }
.language-button[aria-pressed="true"] { color: var(--ink); }

.hero { min-height: 680px; overflow: hidden; display: grid; grid-template-columns: minmax(440px, 49%) 1fr; background: var(--white); }
.hero-copy { position: relative; z-index: 2; padding: 117px 56px 72px max(56px, calc((100vw - 1328px) / 2)); }
.eyebrow { margin: 0 0 15px; color: #a18269; font-size: 11px; letter-spacing: .18em; font-weight: 700; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; margin: 0; font-weight: 600; letter-spacing: -.04em; }
h1 { max-width: 730px; font-size: clamp(48px, 5.1vw, 75px); line-height: 1.01; }
.hero-description { max-width: 480px; margin: 30px 0 29px; color: var(--muted); font-size: 16px; line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 21px; min-height: 52px; padding: 0 26px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: .055em; transition: transform .2s, color .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: #fff; background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); }
.button span { font-size: 18px; font-weight: 400; }
.button-outline { color: var(--ink); background: transparent; border: 1px solid #baa18d; }
.text-link { padding-bottom: 4px; border-bottom: 1px solid #b49680; color: var(--ink); font-size: 12px; font-weight: 700; }
.hero-facts { display: flex; gap: 32px; margin-top: 82px; color: var(--muted); font-size: 11px; letter-spacing: .03em; }
.hero-facts span { display: grid; gap: 5px; }
.hero-facts b { color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 23px; font-weight: 600; letter-spacing: -.04em; }

.hero-art { position: relative; min-height: 680px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #dfcab9 0%, #f3e8de 59%, #e1c5b1 100%); }
.hero-art::before { position: absolute; width: 650px; height: 650px; top: -260px; right: -180px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; content: ""; }
.hero-art::after { position: absolute; width: 510px; height: 510px; bottom: -250px; left: -185px; border-radius: 50%; background: rgba(255,255,255,.25); content: ""; }
.hero-gallery { position: relative; z-index: 1; width: min(440px, 76%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-frame { overflow: hidden; aspect-ratio: .79; border: 7px solid rgba(255,255,255,.88); background: #f5eee7; box-shadow: 0 18px 40px rgba(82, 58, 43, .16); }
.hero-frame img { width: 100%; height: 100%; display: block; object-fit: contain; }
.hero-note { position: absolute; z-index: 2; top: 45px; right: 9%; color: rgba(72, 48, 34, .58); font-size: 9px; letter-spacing: .18em; text-align: right; line-height: 1.8; }
.hero-note i { margin-right: 12px; font-family: "Playfair Display", Georgia, serif; font-size: 18px; font-weight: 400; }
.hero-index { position: absolute; z-index: 2; bottom: 34px; right: 9%; color: rgba(72, 48, 34, .57); font-size: 11px; letter-spacing: .14em; }

.trust-strip { min-height: 88px; margin: 0; padding: 0 56px; display: flex; align-items: center; justify-content: center; gap: clamp(17px, 3.8vw, 65px); background: var(--espresso); color: #f7f0e9; }
.trust-strip p { margin: 0; font-size: 12px; letter-spacing: .02em; }
.trust-strip strong { color: #e8cdb5; margin-right: 6px; }
.trust-strip i { width: 3px; height: 3px; border-radius: 50%; background: #b89275; }

.brand-directory, .catalog { max-width: 1440px; padding: 118px 56px 132px; margin: auto; }
.section-heading { display: flex; gap: 30px; align-items: end; justify-content: space-between; }
h2 { font-size: clamp(38px, 4.1vw, 57px); line-height: 1.08; }
.catalog-count { margin: 0 0 8px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.brand-intro { max-width: 625px; margin: 21px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.brand-card { position: relative; min-height: 300px; padding: 0; overflow: hidden; border: 0; cursor: pointer; text-align: left; background: #e8ddd3; box-shadow: 0 7px 20px rgba(91, 67, 51, .07); transition: transform .25s, box-shadow .25s; }
.brand-card:hover, .brand-card.active { transform: translateY(-5px); box-shadow: 0 20px 35px rgba(91, 67, 51, .17); }
.brand-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29, 21, 17, .76), rgba(31, 22, 17, .02) 65%); content: ""; }
.brand-card img, .brand-card video { display: block; width: 100%; height: 300px; object-fit: cover; transition: transform .45s; }
.brand-card:hover img, .brand-card:hover video { transform: scale(1.04); }
.brand-card-copy { position: absolute; z-index: 1; right: 21px; bottom: 20px; left: 21px; color: #fff; }
.brand-card-copy strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 25px; letter-spacing: -.025em; }
.brand-card-copy span { display: block; margin-top: 7px; color: #e8d8ca; font-size: 11px; letter-spacing: .07em; }

.catalog { padding-top: 35px; }
.catalog-heading-row { min-height: 45px; display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid var(--line); }
.catalog-heading-row .catalog-count { margin-top: 3px; }
.back-button { padding: 0 0 8px; border: 0; cursor: pointer; color: var(--muted); background: transparent; font-size: 12px; font-weight: 700; }
.back-button:hover { color: var(--ink); }
.catalog-title-row { margin-top: 37px; align-items: end; }
.catalog-description { max-width: 375px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.65; text-align: right; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 45px 0 31px; }
.filter { cursor: pointer; color: #836d5d; border: 1px solid var(--line); border-radius: 50px; background: var(--white); padding: 10px 17px; font-size: 12px; transition: .2s; }
.filter:hover, .filter.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.media-card { position: relative; min-height: 340px; padding: 0; cursor: pointer; overflow: hidden; border: 0; background: #eee6de; text-align: left; }
.media-card::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(37, 27, 22, .65), transparent 57%); content: ""; opacity: .08; transition: opacity .25s; }
.media-card:hover::after { opacity: 1; }
.media-card img, .media-card video { width: 100%; height: 340px; display: block; object-fit: cover; background: #eee6de; transition: transform .45s; }
.media-card:hover img, .media-card:hover video { transform: scale(1.03); }
.media-card.video-card { background: linear-gradient(135deg,#dfcbbc,#f6eee6); }
.media-card .video-symbol { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 53px; height: 53px; border: 1px solid rgba(255,255,255,.84); border-radius: 50%; color: #fff; background: rgba(52,42,37,.42); transform: translate(-50%, -50%); font-size: 16px; }
.card-meta { position: absolute; z-index: 3; right: 18px; bottom: 17px; left: 18px; display: flex; justify-content: space-between; color: #fff; opacity: 0; transition: opacity .25s; font-size: 11px; letter-spacing: .07em; }
.media-card:hover .card-meta { opacity: 1; }
.catalog-more-wrap { display: flex; justify-content: center; margin-top: 44px; }
.catalog-more-wrap[hidden] { display: none; }

.guide { display: grid; grid-template-columns: minmax(310px, .92fr) 1.08fr; gap: clamp(60px, 10vw, 180px); padding: 114px max(56px, calc((100vw - 1328px) / 2)); background: var(--cream); }
.guide-intro > p:not(.eyebrow) { max-width: 435px; color: #776256; line-height: 1.72; font-size: 16px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(114, 88, 69, .25); }
.steps li { display: grid; grid-template-columns: 68px 1fr; gap: 15px; padding: 28px 0 27px; border-bottom: 1px solid rgba(114, 88, 69, .25); }
.steps span { color: #9a7b62; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.steps h3 { font-size: 25px; line-height: 1.15; }
.steps p { max-width: 420px; margin: 10px 0 0; color: #776256; font-size: 14px; line-height: 1.65; }

.contact { display: grid; grid-template-columns: minmax(310px, .95fr) 1.05fr; gap: clamp(60px, 10vw, 180px); padding: 94px max(56px, calc((100vw - 1328px) / 2)); background: var(--white); }
.contact h2 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.06; }
.contact-details { display: flex; align-items: flex-start; flex-direction: column; }
.contact-details > p { max-width: 440px; margin: 3px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.contact-email { display: grid; gap: 5px; margin-top: 27px; color: var(--ink); font-size: 14px; font-weight: 700; }
.contact-email span { color: #a18269; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-email:hover { color: #9a7b62; }
.contact address { display: grid; gap: 5px; margin-top: 34px; color: #776256; font-size: 13px; font-style: normal; line-height: 1.7; }
.contact address span { color: #a18269; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.closing { min-height: 470px; padding: 108px 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; background: radial-gradient(circle at 50% -30%, #72594a, transparent 50%), #342a25; }
.closing .eyebrow { color: #d6b79d; }
.closing h2 { margin-bottom: 31px; font-size: clamp(40px, 4.3vw, 60px); }
footer { max-width: 1440px; min-height: 126px; padding: 0 56px; margin: auto; display: grid; grid-template-columns: auto minmax(200px, 540px) auto; align-items: center; gap: 42px; color: #836d5d; font-size: 11px; }
footer .wordmark { color: var(--ink); }
footer p { margin: 0; line-height: 1.6; text-align: center; }
.footer-links { display: grid; justify-items: end; gap: 7px; }

.media-modal { position: fixed; width: min(1080px, 94vw); max-width: 94vw; max-height: 94vh; padding: 0; border: 0; overflow: visible; background: #2c2521; color: #fff; box-shadow: 0 20px 90px rgba(0,0,0,.42); }
.media-modal::backdrop { background: rgba(23, 17, 13, .78); backdrop-filter: blur(6px); }
.media-modal #modal-content { display: grid; max-height: min(72vh, 760px); place-items: center; background: #17120f; }
.media-modal img { display: block; max-width: 100%; max-height: min(72vh, 760px); object-fit: contain; }
.media-modal video { display: block; width: auto; height: min(72vh, 760px); max-width: 100%; max-height: min(72vh, 760px); object-fit: contain; background: #000; }
.modal-details { padding: 16px 20px 18px; display: grid; grid-template-columns: 1fr auto; gap: 5px 18px; align-items: center; }
.media-modal p { margin: 0; }
.modal-details #modal-caption { color: #f7eee7; font-size: 13px; }
.modal-code { color: #d9bda7; font-size: 11px; letter-spacing: .08em; }
.modal-material { color: #bba18e; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.copy-code { grid-row: span 3; grid-column: 2; align-self: center; padding: 10px 14px; border: 1px solid rgba(229, 205, 183, .55); cursor: pointer; color: #f3e5d9; background: transparent; font-size: 11px; }
.copy-code:hover { background: rgba(255,255,255,.09); }
.modal-close { position: absolute; z-index: 2; top: -16px; right: -16px; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: #5b483b; font-size: 26px; line-height: 1; }

@media (max-width: 900px) {
  .site-header { padding: 0 24px; min-height: 70px; }
  .header-controls { gap: 14px; }
  nav { gap: 17px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 74px 24px 62px; }
  .hero-facts { margin-top: 52px; }
  .hero-art { min-height: 500px; }
  .hero-gallery { width: min(390px, 72%); gap: 13px; }
  .trust-strip { padding: 21px 24px; flex-wrap: wrap; gap: 11px 20px; }
  .brand-directory, .catalog { padding: 78px 24px 86px; }
  .section-heading { align-items: start; flex-direction: column; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
  .brand-card, .brand-card img { min-height: 215px; height: 215px; }
  .brand-card-copy { right: 14px; bottom: 14px; left: 14px; }
  .brand-card-copy strong { font-size: 21px; }
  .catalog { padding-top: 30px; }
  .catalog-title-row { margin-top: 29px; }
  .catalog-description { max-width: 480px; margin: 0; text-align: left; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .media-card, .media-card img, .media-card video { min-height: 238px; height: 238px; }
  .guide, .contact { grid-template-columns: 1fr; gap: 46px; padding: 76px 24px; }
  .closing { min-height: 400px; padding: 74px 24px; }
  footer { padding: 27px 24px; grid-template-columns: 1fr; justify-items: start; gap: 14px; }
  footer p { text-align: left; }
  .footer-links { justify-items: start; }
  .media-modal { width: min(580px, 92vw); }
}

@media (max-width: 430px) {
  .wordmark { font-size: 15px; }
  .header-controls { gap: 10px; }
  nav { font-size: 12px; }
  .language-switch { gap: 4px; font-size: 10px; }
  .hero-art { min-height: 410px; }
  .hero-note { top: 27px; }
  .hero-gallery { width: 74%; gap: 10px; }
  .trust-strip i { display: none; }
  .media-card, .media-card img, .media-card video { min-height: 190px; height: 190px; }
  .media-modal { width: 92vw; }
  .media-modal #modal-content { max-height: 64dvh; }
  .media-modal video { height: min(64dvh, 640px); max-height: 64dvh; }
  .modal-details { grid-template-columns: 1fr; gap: 6px; }
  .copy-code { grid-row: auto; grid-column: auto; width: 100%; margin-top: 7px; }
}

@media (max-width: 600px) {
  nav a:nth-child(2) { display: none; }
  nav { gap: 12px; }
}
