/* Nostalgija · Damar Tartufi */

:root {
  --charcoal: #1c1a17;
  --charcoal-2: #26231f;
  --ivory: #f5f0e6;
  --ivory-2: #ece5d6;
  --paper: #fbf8f2;
  --ink: #2a2622;
  --ink-soft: #5a5148;
  --stone: #8a8178;
  --gold: #c2a56e;
  --gold-deep: #85693a;
  --salt: #6ab2d0;
  --olive: #6b7140;
  --line-dark: rgba(194, 165, 110, 0.28);
  --line-light: rgba(42, 38, 34, 0.14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: 0.005em; }
h1 em, h2 em { font-style: italic; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--charcoal); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Natural stone texture on light sections */
.stone {
  background-color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.4  0 0 0 0 0.34  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow.dark { color: var(--gold-deep); }
.fine { font-size: 13.5px; color: var(--stone); margin-top: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: #d4b984; }
.btn-ghost { border-color: rgba(245, 240, 230, 0.4); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--salt); color: var(--salt); }
.btn-dark { background: var(--charcoal); color: var(--ivory); }
.btn-dark:hover { background: var(--olive); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28, 26, 23, 0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 3px solid var(--salt);
  border-bottom: 1px solid var(--line-dark);
  color: var(--ivory);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand-text { font-family: var(--serif); font-size: 24px; letter-spacing: 0.08em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: rgba(245,240,230,.82); transition: color .2s; }
.site-nav a:hover { color: var(--gold); }
.site-nav .nav-cta { border: 1px solid var(--gold); color: var(--gold); padding: 9px 16px; }
.site-nav .nav-cta:hover { background: var(--gold); color: var(--charcoal); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--ivory); font: 500 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 10px 14px; cursor: pointer; }

/* Hero */
.hero { position: relative; background: var(--charcoal); color: var(--ivory); overflow: hidden; min-height: calc(100vh - 72px); display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 46%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--charcoal) 0%, rgba(28,26,23,.55) 30%, rgba(28,26,23,0) 70%); }
.hero-inner { position: relative; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { max-width: 620px; }
.logo-pair { display: flex; align-items: center; gap: 22px; margin-bottom: 40px; }
.logo-pair img:first-child { width: 112px; }
.logo-pair img:last-child { width: 86px; }
.logo-rule { width: 1px; height: 72px; background: rgba(194,165,110,.45); }
.hero h1 { font-size: clamp(48px, 7.2vw, 96px); margin-bottom: 26px; }
.hero h1 em { color: var(--gold); }
.lede { font-size: 19px; color: rgba(245,240,230,.78); max-width: 540px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Story */
.story { padding: 120px 0 110px; }
.story-intro { max-width: 820px; margin: 0 auto 72px; text-align: center; }
.story-intro h2 { font-size: clamp(40px, 5.4vw, 68px); margin-bottom: 24px; }
.lede-dark { font-size: 19px; color: var(--ink-soft); }
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; filter: grayscale(1) contrast(1.02); border-radius: var(--radius); }
.story-text h3 { font-size: 32px; margin-bottom: 14px; color: var(--olive); }
.story-text h3:not(:first-child) { margin-top: 36px; }
.story-text p { color: var(--ink-soft); }
.jar-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 96px; border-top: 1px solid var(--line-light); }
.fact { padding: 32px 24px 8px; border-left: 1px solid var(--line-light); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold-deep); margin-bottom: 12px; }
.fact-label { display: block; font-size: 15px; color: var(--ink-soft); }

/* Value */
.value { background: var(--charcoal); color: var(--ivory); padding: 120px 0 100px; }
.value-head { max-width: 760px; margin-bottom: 64px; }
.value-head h2 { font-size: clamp(38px, 5.2vw, 64px); margin-bottom: 22px; }
.value-head h2 em { color: var(--gold); }
.value-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.value-hero { border-top: 2px solid var(--salt); padding-top: 28px; }
.big-num { display: block; font-family: var(--serif); font-size: clamp(110px, 14vw, 180px); line-height: .9; color: var(--gold); margin-bottom: 18px; }
.value-hero p { font-size: 19px; color: rgba(245,240,230,.82); max-width: 380px; }
.compare-group { padding: 26px 0; border-top: 1px solid var(--line-dark); }
.compare-group:last-child { border-bottom: 1px solid var(--line-dark); }
.compare-group h3 { font-size: 26px; margin-bottom: 16px; }
.bar-row { display: grid; grid-template-columns: 190px 1fr 74px; gap: 16px; align-items: center; padding: 6px 0; font-size: 14.5px; }
.bar-label { color: rgba(245,240,230,.78); }
.ours .bar-label { color: var(--ivory); font-weight: 400; }
.bar { position: relative; display: flex; height: 10px; background: rgba(245,240,230,.08); border-radius: 6px; overflow: hidden; }
.fill { display: block; height: 100%; border-radius: 6px; background: var(--gold); }
.theirs .fill { background: rgba(245,240,230,.38); }
.bar-val { font-family: var(--serif); font-size: 22px; text-align: right; white-space: nowrap; }
.ours .bar-val { color: var(--gold); }
.theirs .bar-val { color: rgba(245,240,230,.7); font-size: 19px; }
.value-why { margin-top: 64px; max-width: 820px; }
.value-why h3 { font-size: 32px; margin-bottom: 14px; }
.value-why p { color: rgba(245,240,230,.8); font-size: 18px; }
.value .fine { color: rgba(245,240,230,.5); }

/* Collection */
.collection { padding: 120px 0; background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); }
.section-head a { color: var(--gold-deep); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { background: none; border: 1px solid var(--line-light); color: var(--ink); font: 400 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 10px 18px; border-radius: 40px; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--salt); }
.chip.is-active { background: var(--salt); border-color: var(--salt); color: var(--charcoal); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px 28px; }
.card { display: flex; flex-direction: column; background: transparent; }
.card[hidden] { display: none; }
.card-img { background: #fff; border: 1px solid var(--line-light); transition: border-color .3s ease; aspect-ratio: 4 / 5; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.035); }
.card:hover .card-img { border-color: var(--salt); }
.card-body { display: flex; flex-direction: column; flex: 1; padding-top: 20px; }
.card-cat { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); margin-bottom: 8px; }
.card h3 { font-size: 27px; margin-bottom: 10px; }
.card-desc { font-size: 15px; color: var(--ink-soft); margin-bottom: 16px; }
.sizes { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line-light); }
.sizes li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line-light); font-size: 14.5px; }
.sz { color: var(--ink); letter-spacing: .02em; }
.sz-status { font-size: 12px; letter-spacing: .06em; color: var(--stone); display: inline-flex; align-items: center; gap: 6px; }
.sz-status:not(:empty)::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.sizes li[data-status="in-stock"] .sz-status { color: #3d5a3a; }
.sizes li[data-status="in-stock"] .sz-status::before { background: #5c7f57; }
.sizes li[data-status="sold-out"] .sz-status { color: #8a3f2c; }
.sizes li[data-status="sold-out"] .sz-status::before { background: #a5543f; }
.sz-price { font-family: var(--serif); font-size: 19px; min-width: 44px; text-align: right; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: auto 0 14px; }
.from { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.from .price { font-family: var(--serif); font-size: 28px; letter-spacing: 0; text-transform: none; color: var(--ink); margin-left: 4px; }
.status { font-size: 12.5px; letter-spacing: .06em; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; text-align: right; }
.status:not(:empty)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.card[data-status="in-stock"] .status { color: var(--olive); }
.card[data-status="in-stock"] .status::before { background: var(--olive); }
.card-btn { width: 100%; }
.empty-note { grid-column: 1 / -1; color: var(--ink-soft); padding: 24px 0; }

.more { margin-top: 96px; padding: 56px; background: var(--ivory); border: 1px solid var(--line-light); }
.more-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 28px; }
.more-head h3 { font-size: 34px; }
.more-head p { color: var(--ink-soft); margin: 0; }
.more-list { list-style: none; margin: 0 0 32px; padding: 0; columns: 2; column-gap: 56px; }
.more-list li { break-inside: avoid; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.more-list li span:first-child { font-family: var(--serif); font-size: 19px; }
.more-list li span:nth-child(2) { color: var(--stone); }
.more-list li span:last-child { text-align: right; }

/* Chefs */
.chefs { background: var(--charcoal); color: var(--ivory); padding: 120px 0; }
.chefs-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 80px; align-items: center; }
.chefs h2 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 22px; }
.points { list-style: none; padding: 0; margin: 0 0 40px; }
.points li { padding: 18px 0; border-top: 1px solid var(--line-dark); color: rgba(245,240,230,.75); }
.points li:last-child { border-bottom: 1px solid var(--line-dark); }
.points strong { font-weight: 500; color: var(--ivory); margin-right: 6px; }
.chefs-photo { margin: 0; }
.chefs-photo img { width: 100%; border-radius: var(--radius); }
.seasons { margin-top: 110px; display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; align-items: center; }
.seasons h3 { font-size: 40px; margin-bottom: 24px; }
.seasons-head img { width: 260px; }
.seasons table { width: 100%; border-collapse: collapse; font-size: 16px; }
.seasons th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding: 0 0 14px; border-bottom: 1px solid var(--line-dark); }
.seasons td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-dark); color: rgba(245,240,230,.8); }
.seasons td i { color: var(--ivory); }

/* Gifting */
.gifting { padding: 120px 0 110px; }
.gift-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.gift-photo { margin: 0; }
.gift-photo img { width: 100%; border-radius: var(--radius); }
.gift-copy h2 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 22px; }
.gift-copy > p { color: var(--ink-soft); }
.steps { list-style: none; padding: 0; margin: 28px 0 36px; }
.steps li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line-light); color: var(--ink-soft); }
.steps li span { font-family: var(--serif); font-size: 26px; color: var(--gold-deep); min-width: 18px; }
.steps.light li { border-color: var(--line-dark); color: rgba(245,240,230,.78); }
.steps.light li span { color: var(--gold); }
.ideas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 88px; }
.idea { background: var(--paper); border: 1px solid var(--line-light); padding: 36px 32px; }
.idea-num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-deep); margin-bottom: 10px; }
.idea h3 { font-size: 28px; margin-bottom: 12px; }
.idea p:last-child { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* Contact */
.contact { background: var(--charcoal-2); color: var(--ivory); padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
.contact h2 { font-size: clamp(40px, 5.4vw, 66px); margin-bottom: 20px; }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 8px 0 6px; }
.email-link { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); color: var(--gold); text-decoration: none; word-break: break-all; }
.email-link:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.copy-btn { background: none; border: 1px solid var(--line-dark); color: rgba(245,240,230,.8); font: 400 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; cursor: pointer; }
.copy-btn:hover { border-color: var(--gold); color: var(--gold); }
.phone-line a { color: rgba(245,240,230,.8); text-decoration: none; letter-spacing: .04em; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.how h3 { font-size: 32px; }

/* Footer */
.site-footer { background: var(--charcoal); color: rgba(245,240,230,.7); padding: 56px 0; border-top: 3px solid var(--salt); }
.footer-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-brand img:first-child { width: 72px; }
.footer-brand img:last-child { width: 54px; }
.footer-text p { margin: 0 0 4px; font-size: 14.5px; }
.footer-text .fine { margin-top: 10px; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card-img img { transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .value-grid, .story-grid, .chefs-grid, .gift-grid, .contact-grid, .seasons { grid-template-columns: 1fr; gap: 48px; }
  .jar-facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .more-head { grid-template-columns: 1fr; gap: 12px; }
  .more-list { columns: 1; }
  .ideas { grid-template-columns: 1fr; }
  .chefs-photo, .gift-photo { max-width: 520px; }
  .seasons-head img { width: 180px; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--charcoal); border-bottom: 1px solid var(--line-dark); padding: 8px 24px 24px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 1px solid var(--gold); }
  .hero { min-height: auto; display: block; }
  .hero-media { position: relative; width: 100%; height: 300px; }
  .hero-media::after { background: linear-gradient(0deg, var(--charcoal) 0%, rgba(28,26,23,0) 60%); }
  .hero-inner { padding-top: 8px; padding-bottom: 72px; }
  .logo-pair { margin-bottom: 28px; }
  .logo-pair img:first-child { width: 84px; }
  .logo-pair img:last-child { width: 64px; }
  .story, .value, .collection, .chefs, .gifting, .contact { padding: 80px 0; }
  .bar-row { grid-template-columns: 1fr 64px; row-gap: 6px; }
  .bar-label { grid-column: 1 / -1; }
  .more { padding: 32px 22px; margin-top: 64px; }
  .more-list li { grid-template-columns: 1fr auto; }
  .more-list li span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 14px; }
  .more-list li span:last-child { grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-text { display: none; }
  .jar-facts { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line-light); }
  .fact-num { font-size: 52px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .card h3 { font-size: 21px; }
  .card-desc { font-size: 14px; }
  .from .price { font-size: 22px; }
  .card-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .sizes li { grid-template-columns: 1fr auto; font-size: 13.5px; }
  .sz-status { grid-column: 1; grid-row: 2; }
  .sz-price { grid-row: 1 / span 2; align-self: center; font-size: 17px; }
  .btn { padding: 0 14px; letter-spacing: .12em; font-size: 12px; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -24px; margin-right: -24px; padding: 0 24px 6px; scrollbar-width: none; }
  .chip { white-space: nowrap; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}

/* Salt blue and olive, from the Damar labels */
.chefs .eyebrow, .contact .eyebrow { color: var(--salt); }
.gifting .eyebrow { color: var(--olive); }
