:root {
  --ivory: #FAF9F6;
  --sand: #F4F2EE;
  --ink: #26211A;
  --body: #5A4A3E;
  --muted: #96877A;
  --accent: #8F6F35;
  --line: #E6E1D8;
  --serif: "Cormorant Garamond", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 400; background: var(--ivory); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
section, details { scroll-margin-top: 84px; }

nav { position: sticky; top: 0; z-index: 50; background: rgba(250,249,246,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
nav .inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
nav .logo { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
nav .links { display: flex; gap: 32px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
nav .links a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
nav .links a:hover { color: var(--accent); border-color: var(--accent); }
.menu-btn { display: none; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--ink); }

.eyebrow { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
.btn { display: inline-block; background: var(--ink); color: #fff; padding: 15px 34px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--ink); }

.hero .inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero h1 { font-size: 64px; line-height: 1.04; letter-spacing: -.01em; margin-bottom: 22px; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero p.lead { font-size: 16px; line-height: 1.75; color: var(--body); max-width: 420px; margin: 0 0 34px; font-weight: 300; }
.hero .frame { justify-self: center; width: 100%; max-width: 340px; aspect-ratio: 4/5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sand); }
.hero .frame img { width: 100%; height: 100%; object-fit: cover; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 38px; line-height: 1.15; }
.section-head .sub { font-size: 14px; color: var(--muted); margin: 10px 0 0; font-weight: 300; }
.block { padding: 88px 0; }
.tint { background: var(--sand); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 28px; }
.grid.three { grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 0 auto; }
.card .imgwrap { aspect-ratio: 1/1; background: #F4F2EE; overflow: hidden; margin-bottom: 16px; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.04); }
.card .type { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.card .name { font-size: 22px; line-height: 1.2; margin: 0 0 6px; }
.card .desc { font-size: 13px; line-height: 1.6; color: var(--body); margin: 0 0 10px; font-weight: 300; }
.card .price-row { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.card .price { color: var(--ink); font-weight: 500; }

.about { text-align: center; }
.about .opening { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.35; max-width: 620px; margin: 0 auto 28px; }
.about .story { max-width: 560px; margin: 0 auto 18px; font-size: 15px; line-height: 1.9; color: var(--body); font-weight: 300; }
.about .founder { margin: 30px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.9; }
.about .founder span { color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; text-align: center; }
.pillar { border-top: 1px solid var(--line); padding-top: 24px; }
.pillar .t { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }
.pillar .s { font-size: 13px; line-height: 1.7; color: var(--body); margin: 0; font-weight: 300; }

.accordion { max-width: 680px; margin: 0 auto; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary { padding: 22px 2px; font-family: var(--serif); font-size: 22px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: '+'; font-family: var(--sans); font-size: 20px; font-weight: 300; color: var(--accent); }
.acc-item[open] summary::after { content: '\2212'; }
.acc-item .body { padding: 0 2px 24px; font-size: 14px; line-height: 1.85; color: var(--body); font-weight: 300; }
.acc-item .body p { margin: 0 0 12px; }
.acc-item .body strong { color: var(--ink); font-weight: 500; }
.pcontact { font-size: 12.5px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pcontact a { border-bottom: 1px solid var(--line); }

.contact { text-align: center; }
.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 820px; margin: 0 auto; }
.cgrid .t { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.cgrid .v { font-family: var(--serif); font-size: 20px; line-height: 1.45; margin: 0; }
.cgrid .v a:hover { color: var(--accent); }

footer { background: var(--ink); color: #CDBFB3; text-align: center; padding: 64px 0 48px; }
footer .flogo { font-family: var(--serif); color: #fff; font-size: 24px; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 26px; }
footer .flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 30px; }
footer .flinks a:hover, footer .fcontact a:hover { color: #E9C9A6; }
footer .fcontact { font-size: 14px; margin: 0 0 12px; color: #E9DCD0; }
footer .faddr { font-size: 13px; line-height: 1.8; margin: 0 0 30px; font-weight: 300; }
footer .flegal { font-size: 11px; letter-spacing: .08em; color: #8E7F73; margin: 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 50px; }
}
@media (max-width: 640px) {
  .inner { padding: 0 20px; }
  nav .links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); flex-direction: column; gap: 4px; padding: 16px 20px 20px; border-bottom: 1px solid var(--line); }
  nav .links.open { display: flex; }
  .menu-btn { display: block; }
  .hero .inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; text-align: center; }
  .hero h1 { font-size: 42px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .frame { max-width: 260px; }
  .block { padding: 60px 0; }
  .section-head h2 { font-size: 30px; }
  .grid, .grid.three { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .card .name { font-size: 19px; }
  .about .opening { font-size: 24px; }
  .pillars, .cgrid { grid-template-columns: 1fr; gap: 24px; }
}

/* multi-page additions */
.hero .inner { grid-template-columns: 1fr 1fr; gap: 48px; }
.hero { background: #F4EBE5; }
.hero .frame { max-width: 560px; aspect-ratio: 1/1; border-radius: 0; background: none; overflow: visible; }
.hero .frame img { object-fit: contain; transform: none; filter: drop-shadow(0 22px 26px rgba(60, 35, 20, .16)); }
.card img, .product .photo img, .line img { transform: scale(1.03); }
.card:hover img { transform: scale(1.08); }
nav .links a.active { color: var(--accent); border-color: var(--accent); }
nav .right { display: flex; align-items: center; gap: 28px; }
nav .bag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
nav .bag:hover { color: var(--accent); }
nav .bag .count { display: inline-block; min-width: 20px; padding: 2px 6px; margin-left: 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: 0; text-align: center; }
.page-head { text-align: center; padding: 72px 0 0; }
.page-head h1 { font-size: 48px; line-height: 1.1; }
.page-head .sub { font-size: 14px; color: var(--muted); margin: 12px 0 0; font-weight: 300; }
.page-head + .block { padding-top: 56px; }
.center { text-align: center; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
button.btn { font-family: var(--sans); cursor: pointer; }
.card .add { display: block; width: 100%; margin-top: 14px; padding: 12px 10px; background: transparent; color: var(--ink); border: 1px solid var(--ink); font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.card .add:hover, .card .add.added { background: var(--ink); color: #fff; }
.teaser { max-width: 620px; margin: 0 auto; text-align: center; }
.teaser .opening { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.35; margin: 0 0 28px; }

.policy { max-width: 680px; margin: 0 auto; font-size: 15px; line-height: 1.9; color: var(--body); font-weight: 300; }
.policy h2 { font-size: 24px; color: var(--ink); margin: 34px 0 8px; }
.policy p { margin: 0 0 14px; }
.policy ul { margin: 0 0 14px; padding-left: 20px; }
.policy .pcontact { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.policy .pcontact strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin: 22px 0 0; }
.policy-links a { padding-bottom: 4px; border-bottom: 1px solid transparent; }
.policy-links a:hover, .policy-links a.active { color: var(--accent); border-color: var(--accent); }

.cart { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.cart-items { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; height: 84px; object-fit: cover; background: #F4F2EE; }
.line .n { font-family: var(--serif); font-size: 21px; margin: 0 0 4px; }
.line .u { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.line .tot { font-size: 15px; font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 32px; height: 32px; background: none; border: none; font-size: 16px; cursor: pointer; color: var(--ink); font-family: var(--sans); }
.qty span { min-width: 28px; text-align: center; font-size: 13px; }
.line .rm { background: none; border: none; padding: 0; margin-left: 14px; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 1px solid var(--line); }
.line .rm:hover { color: var(--accent); }
.summary { background: var(--sand); padding: 32px; }
.summary h2 { font-size: 26px; margin-bottom: 20px; }
.summary .row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: var(--body); }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; font-size: 16px; color: var(--ink); font-weight: 500; }
.summary .btn { display: block; width: 100%; text-align: center; margin-top: 22px; }
.summary .btn[disabled] { opacity: .4; cursor: not-allowed; }
.summary .note { font-size: 12.5px; line-height: 1.7; color: var(--muted); margin: 16px 0 0; text-align: center; }
.summary .note a { border-bottom: 1px solid var(--line); }
.card a.plink { display: block; }
.card a.plink:hover .name { color: var(--accent); }
.crumbs { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 32px 0 0; }
.crumbs a:hover { color: var(--accent); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; padding: 32px 0 88px; }
.product .photo { background: #F4F2EE; aspect-ratio: 1/1; overflow: hidden; }
.product .photo img { width: 100%; height: 100%; object-fit: cover; }
.product .type { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 8px 0 12px; }
.product h1 { font-size: 46px; line-height: 1.1; margin-bottom: 12px; }
.product .pprice { font-size: 20px; font-weight: 500; margin: 0 0 26px; }
.product .pdesc { font-size: 15px; line-height: 1.9; color: var(--body); font-weight: 300; }
.product .pdesc p { margin: 0 0 16px; }
.product .pdesc ul { margin: 0 0 16px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.product .pdesc li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.product .pdesc strong { color: var(--ink); font-weight: 500; }
.product .add { display: inline-block; width: auto; margin-top: 12px; padding: 16px 44px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.product .add:hover { background: transparent; color: var(--ink); }
.product .assure { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 22px 0 0; font-weight: 300; }
.product .assure a { border-bottom: 1px solid var(--line); }
.empty { text-align: center; padding: 40px 0 20px; }
.empty p { font-family: var(--serif); font-size: 26px; margin: 0 0 24px; }

@media (max-width: 640px) {
  nav .right { gap: 16px; }
  .page-head { padding-top: 48px; }
  .page-head h1 { font-size: 36px; }
  .hero .inner { grid-template-columns: 1fr; }
  .hero .frame { max-width: 380px; }
  .cart { grid-template-columns: 1fr; gap: 32px; }
  .product { grid-template-columns: 1fr; gap: 28px; padding-bottom: 60px; }
  .product h1 { font-size: 36px; }
  .line { grid-template-columns: 64px 1fr; }
  .line img { width: 64px; height: 64px; }
  .line .tot { grid-column: 2; }
}

/* Veyraine: portrait product photography and a five-piece grid */
.card .imgwrap, .product .photo { aspect-ratio: 4/5; }
.card img, .product .photo img, .line img { transform: none; }
.card:hover img { transform: scale(1.03); }
.line img { height: 105px; }
.hero .frame img { object-position: center 40%; }
.grid.five { grid-template-columns: repeat(6, 1fr); }
.grid.five > .card { grid-column: span 2; }
.grid.five > .card:nth-child(4) { grid-column: 2 / span 2; }
.product .pdesc h3 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 30px 0 12px; }
.product .pdesc li strong { display: inline-block; min-width: 118px; }
.product .spec-note { font-size: 12px; line-height: 1.7; color: var(--muted); font-style: italic; margin: 0 0 8px; }
@media (max-width: 900px) {
  .grid.five { grid-template-columns: repeat(2, 1fr); }
  .grid.five > .card, .grid.five > .card:nth-child(4) { grid-column: auto; }
}
@media (max-width: 640px) {
  .grid.five { grid-template-columns: 1fr; }
}
