:root {
  --paper: #f4efe6;
  --surface: #fffdf9;
  --ink: #251d17;
  --muted: #73685e;
  --accent: #92552f;
  --line: #d8cec1;
  --green: #1f8b55;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: relative; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: 22px clamp(22px, 4.5vw, 72px); border-bottom: 1px solid var(--line); background: rgba(244,239,230,.94);
}
.brand { display: flex; align-items: center; gap: 13px; font-size: .84rem; letter-spacing: .14em; font-weight: 600; }
.brand > img { width: 58px; height: 58px; object-fit: contain; object-position: center; filter: drop-shadow(0 5px 8px rgba(36, 24, 16, .16)); }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .55rem; letter-spacing: .15em; font-weight: 500; }
.nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: .78rem; }
.nav a { transition: color .2s ease; }
.nav a small { display: none; }
.nav a:hover { color: var(--accent); }
.nav-social {
  position: relative; z-index: 10; display: inline-flex; align-items: center; min-height: 44px;
  padding: 11px 17px; border: 1px solid var(--ink); border-radius: 999px;
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: rgba(146,85,47,.18);
}

.hero { position: relative; min-height: min(830px, calc(100svh - 91px)); overflow: hidden; border-bottom: 1px solid var(--line); background: #17120f; color: #fffaf2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,11,8,.84) 0%, rgba(16,11,8,.55) 36%, rgba(16,11,8,.12) 67%, rgba(16,11,8,.08) 100%); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: inherit; width: min(58%, 900px); padding: clamp(70px, 9vw, 130px) clamp(24px, 6vw, 100px); }
.eyebrow, .section-label { margin: 0 0 34px; color: var(--accent); font-size: .69rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.hero h1, .intro h2, .section-heading h2, .contact h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .95; }
.hero h1 { max-width: 780px; font-size: clamp(4rem, 7.1vw, 7.7rem); letter-spacing: -.035em; text-shadow: 0 3px 28px rgba(0,0,0,.28); }
em { color: var(--accent); font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 560px; margin: 34px 0; color: rgba(255,250,242,.78); font-size: 1.02rem; line-height: 1.75; }
.primary-link { width: fit-content; padding: 14px 0 8px; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 600; }
.primary-link span { margin-left: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.secondary-link { width: fit-content; padding: 14px 0 8px; color: rgba(255,250,242,.72); border-bottom: 1px solid rgba(255,250,242,.34); font-size: .82rem; font-weight: 600; }
.secondary-link span { margin-left: 20px; }
.hero-notes { position: absolute; left: clamp(24px, 6vw, 100px); bottom: 30px; display: flex; gap: 8px; }
.hero-notes span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,250,242,.72); font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hero-visual { position: absolute; inset: 0; overflow: hidden; }
.hero-visual > img { height: 100%; object-fit: cover; object-position: center; }

.intro { display: grid; grid-template-columns: .55fr 1.3fr .65fr; gap: clamp(36px, 6vw, 100px); padding: clamp(90px, 12vw, 170px) clamp(22px, 5vw, 76px); }
.intro h2 { font-size: clamp(3.5rem, 6.5vw, 7rem); }
.intro > div:nth-child(2) > p { max-width: 610px; margin: 42px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.craft-note { align-self: end; border-top: 1px solid var(--line); }
.craft-note span, .craft-note p { display: inline-block; margin: 0; padding-top: 15px; font-size: .75rem; }
.craft-note span { width: 42px; color: var(--accent); }
.craft-note p { width: calc(100% - 47px); border-bottom: 1px solid var(--line); padding-bottom: 15px; }

.collection-worlds { padding: 0 clamp(14px, 2.5vw, 40px) clamp(110px, 13vw, 180px); }
.worlds-heading { display: grid; grid-template-columns: .55fr 1.25fr .7fr; gap: clamp(30px, 5vw, 80px); align-items: end; padding: 0 clamp(8px, 2.5vw, 36px) 48px; }
.worlds-heading .section-label { align-self: start; }
.worlds-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 5.7vw, 6.2rem); font-weight: 400; line-height: .96; }
.worlds-heading > p:last-child { margin: 0 0 7px; color: var(--muted); line-height: 1.75; }
.worlds-grid { display: grid; grid-template-columns: 1.08fr .96fr .96fr; gap: 12px; }
.world-card { position: relative; min-height: 560px; overflow: hidden; background: #2a2019; color: #fffaf2; }
.world-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.65,.3,1); }
.world-card::after { content: ""; position: absolute; inset: 28% 0 0; background: linear-gradient(transparent, rgba(16,10,7,.88)); }
.world-card:hover img { transform: scale(1.035); }
.world-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; z-index: 2; }
.world-light img { object-position: 52% center; }
.world-fire img { object-position: center; }
.world-ege img { object-position: center 54%; }
.world-number { position: absolute; z-index: 2; top: 24px; left: 24px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; font-size: .65rem; backdrop-filter: blur(8px); }
.world-copy { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.world-copy small { color: #e2c5ad; font-size: .62rem; font-weight: 600; letter-spacing: .17em; }
.world-copy strong { max-width: 420px; margin-top: 10px; font-family: var(--serif); font-size: clamp(2.25rem, 3.4vw, 3.7rem); font-weight: 400; line-height: .95; }
.world-copy > span { margin-top: 24px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.5); font-size: .72rem; font-weight: 600; }
.world-ege .world-copy small { color: #ead18f; }

/* Ana sayfa kısa bir karşılama deneyimi; koleksiyon ayrı sayfada açılır. */
.home-page .works,
.home-page .manifesto,
.home-page .fire-collection,
.home-page .ege-selection,
.home-page .product-dialog { display: none; }

/* Ürünler sayfası */
.catalog-page > main > .hero,
.catalog-page > main > .intro,
.catalog-page > main > .collection-worlds,
.catalog-page > main > .manifesto { display: none; }
.catalog-hero {
  display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(36px, 7vw, 120px); align-items: end;
  min-height: 520px; padding: clamp(80px, 10vw, 145px) clamp(22px, 5vw, 76px) clamp(72px, 8vw, 110px);
  overflow: hidden; background: #211711; color: var(--paper); position: relative;
}
.catalog-hero::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -310px;
  border: 1px solid rgba(229,139,76,.14); border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(229,139,76,.03), 0 0 0 180px rgba(229,139,76,.02);
}
.catalog-hero > * { position: relative; z-index: 1; }
.catalog-hero .section-label { align-self: start; color: #dc7b3c; }
.catalog-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(4.2rem, 7.3vw, 8rem); font-weight: 400; line-height: .91; letter-spacing: -.025em; }
.catalog-hero h1 em { color: #e58b4c; }
.catalog-hero div > p { max-width: 650px; margin: 36px 0 0; color: #c8bbb0; font-size: 1.02rem; line-height: 1.75; }
.catalog-tabs {
  position: sticky; z-index: 4; top: 0; display: flex; justify-content: center; gap: 9px;
  padding: 15px clamp(16px, 4vw, 60px); overflow-x: auto; border-bottom: 1px solid var(--line);
  background: rgba(244,239,230,.94); backdrop-filter: blur(12px); scrollbar-width: none;
}
.catalog-tabs::-webkit-scrollbar { display: none; }
.catalog-tabs a { flex: 0 0 auto; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; font-weight: 600; }
.catalog-tabs a:hover, .catalog-tabs a:focus-visible { border-color: var(--accent); color: var(--accent); }
.catalog-page .works { padding-top: clamp(74px, 8vw, 112px); }
.catalog-page .category-heading,
.catalog-page .fire-collection,
.catalog-page .ege-selection { scroll-margin-top: 78px; }

.works { padding: 0 clamp(14px, 2.5vw, 40px) clamp(100px, 12vw, 170px); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(250px, 430px); gap: 40px; align-items: end; padding: 0 clamp(8px, 2.5vw, 36px) 58px; }
.section-heading h2 { font-size: clamp(3.3rem, 6vw, 6.5rem); }
.section-heading > p { margin: 0 0 7px; color: var(--muted); line-height: 1.75; }
.category-heading { display: grid; grid-template-columns: 60px minmax(260px, .9fr) 1fr; gap: 24px; align-items: end; margin: 0 clamp(8px, 2.5vw, 36px) 26px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.category-heading p { margin: 0; color: var(--accent); font-size: .72rem; }
.category-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 4.2rem); font-weight: 400; line-height: 1; }
.category-heading span { justify-self: end; max-width: 380px; color: var(--muted); line-height: 1.6; text-align: right; }
.category-heading-spaced { margin-top: clamp(90px, 11vw, 150px); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.table-gallery { grid-template-columns: repeat(2, 1fr); }
.table-gallery .product-card { min-height: 650px; }
.accessory-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.accessory-gallery .product-card { min-height: 680px; }
.product-card {
  position: relative; min-height: 480px; padding: 0; border: 0; overflow: hidden; background: #d7cec2; color: white; cursor: pointer; text-align: left;
}
.product-card.featured { grid-row: span 2; }
.product-card.wide { grid-column: span 2; min-height: 520px; }
.product-card img { height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1), filter .3s ease; }
.product-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(17,11,7,.78)); }
.product-card:hover img { transform: scale(1.035); }
.product-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; z-index: 2; }
.photo-count {
  position: absolute; z-index: 2; top: 18px; right: 18px; padding: 8px 11px; border-radius: 99px;
  background: rgba(25,18,13,.68); backdrop-filter: blur(8px); font-size: .66rem;
}
.product-info { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 23px; }
.product-info small { display: block; margin-bottom: 7px; font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.product-info strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1; }

.fire-collection { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 780px; border-top: 18px solid var(--paper); background: #211711; color: var(--paper); }
.fire-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 8vw, 130px); }
.fire-copy .section-label { color: #dc7b3c; }
.fire-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.8rem, 6.5vw, 7rem); font-weight: 400; line-height: .94; }
.fire-copy h2 em { color: #e58b4c; }
.fire-copy > p:not(.section-label) { max-width: 540px; margin: 38px 0; color: #c8b8aa; line-height: 1.8; }
.fire-detail { display: flex; justify-content: space-between; width: min(100%, 390px); padding: 17px 0; border: 0; border-bottom: 1px solid #8f7564; background: transparent; color: var(--paper); text-align: left; cursor: pointer; }
.fire-products { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; }
.fire-product { min-height: 780px; }
.fire-products .fire-product { min-width: 0; }
.fire-product::after { background: linear-gradient(transparent, rgba(22,9,3,.84)); }
.fire-product .photo-count { background: rgba(54,22,6,.76); }

.ege-selection {
  display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: clamp(40px, 7vw, 110px);
  padding: clamp(90px, 11vw, 155px) clamp(22px, 5vw, 76px); background: #273225; color: #f6f0e5;
  scroll-margin-top: 24px;
}
.ege-selection-intro { align-self: center; }
.ege-selection .section-label { color: #c8a76e; }
.selection-kicker { margin: 0 0 20px; color: #b9c5a4; font-size: .73rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.ege-selection h2 { margin: 0; font-family: var(--serif); font-size: clamp(3.7rem, 6.4vw, 7rem); font-weight: 400; line-height: .94; }
.ege-selection h2 em { color: #d6b26f; }
.ege-selection-intro > p:last-child { max-width: 540px; margin: 38px 0 0; color: #c9d0bf; line-height: 1.8; }
.selection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.selection-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 350px; padding: 30px;
  overflow: hidden; border: 1px solid rgba(255,255,255,.13); background: #1d281d; color: #fffaf0;
  transition: transform .25s ease, border-color .25s ease;
}
.selection-card:hover { transform: translateY(-5px); border-color: rgba(214,178,111,.7); }
.selection-card:focus-visible { outline: 3px solid #d6b26f; outline-offset: 3px; }
.selection-card.has-image::before { display: none; }
.selection-card.has-image::after { content: ""; position: absolute; z-index: 1; inset: 32% 0 0; background: linear-gradient(transparent, rgba(12,17,10,.88)); }
.selection-product-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
.selection-card:hover .selection-product-image { transform: scale(1.035); }
.selection-oil.has-image .selection-product-image { object-position: center 46%; }
.selection-coaster.has-image .selection-product-image { object-position: center 54%; }
.selection-board.has-image .selection-product-image { object-position: center 48%; }
.selection-oil::before {
  content: ""; position: absolute; width: 125px; height: 245px; right: 28px; top: 32px; border: 1px solid rgba(226,202,153,.38);
  border-radius: 22px 22px 13px 13px; background: linear-gradient(145deg, rgba(108,126,72,.55), rgba(25,43,24,.75));
  box-shadow: inset 18px 0 30px rgba(255,255,255,.035), 0 28px 55px rgba(8,14,8,.28);
}
.selection-oil::after {
  content: ""; position: absolute; width: 46px; height: 36px; right: 67px; top: 3px; border: 1px solid rgba(226,202,153,.32);
  border-bottom: 0; border-radius: 5px 5px 0 0; background: #182218;
}
.selection-oil-large::before { width: 146px; height: 265px; }
.selection-oil-large::after { right: 78px; }
.selection-volume { position: relative; z-index: 2; width: fit-content; padding: 8px 12px; border-radius: 2px; background: rgba(20,29,18,.75); color: #e1bd77; font-family: var(--serif); font-size: 3.2rem; line-height: .8; backdrop-filter: blur(6px); }
.selection-volume small { margin-left: 5px; font-family: var(--sans); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.selection-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.selection-copy small { color: #c8a76e; font-size: .6rem; font-weight: 600; letter-spacing: .16em; }
.selection-copy strong { margin-top: 9px; font-family: var(--serif); font-size: clamp(2.15rem, 3vw, 3.1rem); font-weight: 400; line-height: .94; }
.selection-copy > span { margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.5); font-size: .7rem; font-weight: 600; }
.selection-wood { background: linear-gradient(145deg, #7b5e3d, #3f3022); }
.wood-mark { position: absolute; inset: 26px 28px 110px; opacity: .7; }
.wood-mark::before, .wood-mark::after { content: ""; position: absolute; border: 1px solid rgba(255,245,223,.28); }
.selection-coaster .wood-mark::before { width: 160px; height: 160px; right: 5px; top: 4px; border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,245,223,.035), 0 0 0 40px rgba(255,245,223,.025); }
.selection-coaster .wood-mark::after { width: 95px; height: 95px; right: 38px; top: 37px; border-radius: 50%; }
.selection-board .wood-mark::before { width: 180px; height: 105px; right: 0; top: 38px; border-radius: 44% 12% 18% 39%; transform: rotate(-8deg); }
.selection-board .wood-mark::after { width: 21px; height: 21px; right: 16px; top: 77px; border-radius: 50%; }

.manifesto { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 750px; background: #2a2019; color: var(--paper); }
.manifesto-image { overflow: hidden; }
.manifesto-image img { height: 100%; object-fit: cover; }
.manifesto-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 130px); }
.manifesto-copy blockquote { margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 5vw, 5.8rem); line-height: 1; }
.manifesto-copy > p:last-child { max-width: 460px; margin: 44px 0 0; color: #bfb4aa; line-height: 1.75; }

.contact {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr); gap: clamp(64px, 9vw, 150px);
  padding: clamp(90px, 10vw, 145px) clamp(22px, 7vw, 110px); overflow: hidden;
  border-top: 1px solid rgba(229,139,76,.35); background: #211711; color: var(--paper);
}
.contact::before {
  content: ""; position: absolute; width: 680px; height: 680px; right: -260px; top: -360px;
  border: 1px solid rgba(229,139,76,.12); border-radius: 50%; box-shadow: 0 0 0 90px rgba(229,139,76,.025), 0 0 0 180px rgba(229,139,76,.018);
  pointer-events: none;
}
.contact-intro, .contact-actions { position: relative; z-index: 1; }
.contact .section-label { color: #dc7b3c; }
.contact h2 { max-width: 820px; font-size: clamp(3.8rem, 6.1vw, 7.2rem); }
.contact h2 em { color: #e58b4c; }
.contact-note { max-width: 520px; margin: 38px 0 0; color: #bfb2a7; font-size: 1rem; line-height: 1.75; }
.contact-actions { display: grid; align-content: center; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) 42px; gap: 20px; align-items: center; min-height: 150px; padding: 25px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.055); backdrop-filter: blur(8px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.contact-card:hover { transform: translateX(7px); border-color: rgba(229,139,76,.55); background: rgba(255,255,255,.085); }
.contact-card:focus-visible { outline: 2px solid #e58b4c; outline-offset: 4px; }
.contact-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #f8efe6; }
.contact-icon svg { width: 25px; height: 25px; fill: currentColor; }
.contact-card-whatsapp .contact-icon { background: #237f51; border-color: #237f51; }
.contact-card-instagram .contact-icon { background: linear-gradient(145deg, #8d4c72, #a35b36); border-color: transparent; }
.contact-card-copy { display: flex; flex-direction: column; min-width: 0; }
.contact-card-copy small { margin-bottom: 7px; color: #9e9187; font-size: .64rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.contact-card-copy strong { font-family: var(--serif); color: #fffaf3; font-size: clamp(2rem, 2.5vw, 2.8rem); font-weight: 400; line-height: 1; }
.contact-card-copy > span { margin-top: 8px; color: #c9bbb0; font-size: .8rem; letter-spacing: .04em; }
.contact-card-arrow { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #f2ded0; font-size: 1.1rem; transition: background .25s ease, color .25s ease; }
.contact-card:hover .contact-card-arrow { background: #e58b4c; color: #211711; }

.whatsapp-float {
  position: fixed; z-index: 15; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px;
  padding: 13px 17px; border-radius: 999px; background: #25d366; color: #082313; font-size: .75rem; font-weight: 600;
  box-shadow: 0 12px 34px rgba(20,65,38,.24); transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float svg { width: 23px; height: 23px; fill: currentColor; }
.shopier-float {
  position: fixed; z-index: 15; right: 24px; bottom: 88px; display: flex; align-items: center; gap: 10px;
  min-height: 49px; padding: 12px 17px; border: 1px solid rgba(92,54,201,.18); border-radius: 999px;
  background: #fff; color: #5c36c9; font-size: .75rem; font-weight: 600;
  box-shadow: 0 12px 34px rgba(48,31,95,.22); transition: transform .2s ease;
}
.shopier-float:hover { transform: translateY(-3px); }
.shopier-float:focus-visible { outline: 2px solid #5c36c9; outline-offset: 4px; }
.shopier-mark { font-size: .76rem; font-weight: 700; letter-spacing: -.055em; text-transform: lowercase; }
.shopier-text { color: #302451; }

footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; padding: 28px clamp(22px, 5vw, 76px); border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-brand { color: var(--ink); font-weight: 600; }

.product-dialog {
  width: min(1180px, 94vw); max-width: none; height: min(790px, 92vh); max-height: none; padding: 0; border: 0;
  border-radius: 2px; overflow: hidden; background: var(--surface); color: var(--ink);
}
.product-dialog::backdrop { background: rgba(27,20,15,.78); backdrop-filter: blur(6px); }
.product-dialog[open] { display: grid; grid-template-columns: 1.35fr .85fr; }
.dialog-close {
  position: absolute; z-index: 5; top: 15px; right: 15px; display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255,253,249,.92); color: var(--ink); font-size: 1.5rem; cursor: pointer;
}
.dialog-gallery { position: relative; min-width: 0; background: #19130f; overflow: hidden; }
.dialog-image { height: 100%; object-fit: contain; }
.gallery-arrow {
  position: absolute; z-index: 3; top: 50%; width: 44px; height: 44px; transform: translateY(-50%);
  border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--ink); cursor: pointer;
}
.gallery-arrow.prev { left: 16px; }
.gallery-arrow.next { right: 16px; }
.gallery-arrow[hidden] { display: none; }
.image-counter { position: absolute; left: 18px; bottom: 17px; padding: 7px 10px; background: rgba(20,14,10,.65); color: white; font-size: .66rem; }
.dialog-details { display: flex; flex-direction: column; min-width: 0; padding: clamp(50px, 6vw, 82px) clamp(26px, 4vw, 55px) 38px; overflow-y: auto; }
.dialog-code { margin: 0 0 18px; color: var(--accent); font-size: .67rem; letter-spacing: .18em; text-transform: uppercase; }
.dialog-title { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); font-weight: 400; line-height: .95; }
.dialog-description { margin: 30px 0; color: var(--muted); line-height: 1.75; }
.thumbnails { display: flex; gap: 8px; margin: auto 0 24px; overflow-x: auto; }
.thumbnail { flex: 0 0 68px; height: 68px; padding: 0; border: 2px solid transparent; background: #ddd; cursor: pointer; }
.thumbnail.active { border-color: var(--accent); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.dialog-whatsapp { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--green); color: white; font-size: .78rem; font-weight: 600; }

@media (max-width: 900px) {
  .hero { min-height: 760px; }
  .hero::after { background: linear-gradient(0deg, rgba(16,11,8,.9) 0%, rgba(16,11,8,.46) 55%, rgba(16,11,8,.08) 100%); }
  .hero-copy { justify-content: flex-end; width: 100%; min-height: inherit; padding-top: 180px; }
  .hero-visual > img { object-position: 50% center; }
  .intro { grid-template-columns: 1fr 1fr; }
  .intro > div:nth-child(2) { grid-column: 1 / -1; }
  .craft-note { grid-column: 2; }
  .worlds-heading { grid-template-columns: 1fr 1fr; }
  .worlds-heading h2 { grid-column: 1 / -1; }
  .worlds-heading > p:last-child { grid-column: 2; }
  .worlds-grid { grid-template-columns: 1fr 1fr; }
  .world-card { min-height: 520px; }
  .world-ege { grid-column: 1 / -1; min-height: 590px; }
  .world-ege img { object-position: center 60%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .category-heading { grid-template-columns: 42px 1fr; }
  .category-heading span { grid-column: 2; justify-self: start; text-align: left; }
  .product-card.featured { grid-row: auto; min-height: 580px; }
  .manifesto { grid-template-columns: 1fr; }
  .fire-collection { grid-template-columns: 1fr; }
  .ege-selection { grid-template-columns: 1fr; }
  .fire-copy { min-height: 620px; }
  .fire-products { grid-template-columns: 1fr 1fr; }
  .fire-product { min-height: 720px; }
  .manifesto-image { min-height: 650px; }
  .manifesto-copy { min-height: 620px; }
  .contact { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .product-dialog[open] { grid-template-columns: 1fr; grid-template-rows: minmax(320px, 58%) 1fr; overflow-y: auto; }
  .dialog-details { overflow: visible; }
}

@media (max-width: 620px) {
  .site-header { grid-template-columns: 1fr auto; gap: 16px; padding: 16px 18px 14px; }
  .brand > img { width: 48px; height: 48px; }
  .brand small { display: none; }
  .nav-social { grid-column: 2; grid-row: 1; min-height: 42px; padding: 9px 12px; }
  .nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: flex-start; gap: 8px; padding-top: 12px; overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    flex: 0 0 auto; min-height: auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px;
    background: rgba(255,255,255,.34); color: var(--ink); box-shadow: none; font-size: .69rem; line-height: 1;
    white-space: nowrap;
  }
  .nav a span { color: inherit; font-weight: 600; }
  .nav a:active { transform: scale(.975); }
  .hero { min-height: 720px; }
  .hero-copy { min-height: inherit; padding: 210px 22px 92px; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 4.8rem); }
  .hero-copy > p:not(.eyebrow) { margin: 26px 0; font-size: .94rem; line-height: 1.65; }
  .hero-actions { gap: 8px 20px; }
  .hero-notes { left: 22px; right: 22px; bottom: 22px; gap: 5px; }
  .hero-notes span { padding: 7px 8px; font-size: .52rem; }
  .hero-visual > img { object-position: 48% center; }
  .intro { grid-template-columns: 1fr; padding-inline: 22px; }
  .craft-note { grid-column: 1; }
  .collection-worlds { padding-inline: 14px; }
  .worlds-heading { grid-template-columns: 1fr; padding-inline: 8px; }
  .worlds-heading h2, .worlds-heading > p:last-child { grid-column: 1; }
  .worlds-grid { grid-template-columns: 1fr; }
  .world-card, .world-ege { grid-column: 1; min-height: 470px; }
  .world-ege { min-height: 520px; }
  .catalog-hero { grid-template-columns: 1fr; min-height: 500px; padding: 76px 22px 68px; }
  .catalog-hero .section-label { margin-bottom: 0; }
  .catalog-hero h1 { font-size: clamp(3.7rem, 16vw, 5.3rem); }
  .catalog-hero div > p { margin-top: 28px; font-size: .94rem; }
  .catalog-tabs { justify-content: flex-start; padding: 12px 14px; }
  .catalog-page .works { padding-top: 68px; }
  .section-heading { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .category-heading { grid-template-columns: 32px 1fr; margin-bottom: 22px; }
  .category-heading span { grid-column: 1 / -1; }
  .table-gallery, .accessory-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table-gallery .product-card, .accessory-gallery .product-card,
  .product-card, .product-card.featured, .product-card.wide {
    grid-column: auto; grid-row: auto; min-height: 330px;
  }
  .product-card::after { inset: 38% 0 0; }
  .photo-count { top: 9px; right: 9px; padding: 5px 7px; font-size: .53rem; }
  .product-info { left: 12px; right: 10px; bottom: 13px; }
  .product-info small { margin-bottom: 5px; font-size: .49rem; letter-spacing: .09em; }
  .product-info strong { font-size: clamp(1.12rem, 5vw, 1.42rem); line-height: 1.02; }
  .manifesto-image { min-height: 540px; }
  .fire-copy { min-height: 580px; padding: 70px 24px; }
  .ege-selection { padding: 76px 22px; }
  .selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .selection-card { min-height: 310px; padding: 16px; }
  .selection-copy strong { font-size: clamp(1.42rem, 6.2vw, 2rem); }
  .selection-copy > span { margin-top: 14px; font-size: .61rem; }
  .selection-volume { font-size: 2.2rem; }
  .fire-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fire-product { min-height: 390px; }
  .manifesto-copy { min-height: 580px; padding: 60px 24px; }
  .contact { gap: 54px; padding: 76px 22px; }
  .contact h2 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .contact-note { margin-top: 28px; font-size: .94rem; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 52px minmax(0, 1fr) 38px; min-height: 128px; padding: 20px 18px; gap: 15px; }
  .contact-icon { width: 52px; height: 52px; }
  .contact-card-copy strong { font-size: 2.15rem; }
  .contact-card-arrow { width: 38px; height: 38px; }
  .whatsapp-float { width: 54px; height: 54px; justify-content: center; padding: 0; }
  .whatsapp-float > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .shopier-float { bottom: 90px; width: 54px; height: 54px; min-height: 54px; justify-content: center; padding: 0; }
  .shopier-mark { font-size: .62rem; }
  .shopier-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  footer { grid-template-columns: 1fr; }
  .product-dialog { width: 100vw; height: 100dvh; max-height: none; }
  .product-dialog[open] { grid-template-rows: 52% 1fr; }
  .dialog-title { font-size: 3.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card img, .whatsapp-float, .shopier-float { transition: none; }
}
