/* ==========================================================================
   Myckel Couture
   Simple editorial layout: deep green and pearl bands, one serif, one sans,
   gold kept for the booking button and small accents.
   ========================================================================== */

:root {
  --ink: #062b29;
  --ink-2: #0a3532;
  --teal: #0b5a57;
  --gold: #d2ac63;
  --gold-deep: #8a6420;
  --gold-pale: #efdcb0;
  --pearl: #f3f2ea;
  --white: #fbfbf7;
  --sand: #ebe7d8;
  --ivory: #fbf8ee;
  --text: #102624;
  --muted: #4a5f5d;
  --line: rgba(6, 43, 41, .14);
  --line-dark: rgba(251, 248, 238, .18);
  --display: "Bodoni Moda", "Didot", "Bodoni MT", "Times New Roman", serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gl: max(clamp(20px, 4vw, 64px), env(safe-area-inset-left, 0px));
  --gr: max(clamp(20px, 4vw, 64px), env(safe-area-inset-right, 0px));
  --hd: 72px;
  --max: 1320px;
  --section: clamp(64px, 8vw, 120px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: clamp(16px, 1.05vw, 17px); line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--teal); }
[id] { scroll-margin-top: calc(var(--hd) + 62px); }

.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: .6em 1em; background: var(--ivory); color: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Layout helpers --------------------------------------------------------- */
.band { padding-left: var(--gl); padding-right: var(--gr); }
.inner { width: 100%; max-width: var(--max); margin-inline: auto; }
.dark { background: var(--ink); color: var(--ivory); }
.light { color: var(--text); }

/* Type ------------------------------------------------------------------- */
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.dark .eyebrow { color: var(--gold); }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.06; letter-spacing: -.012em; }
.title em { color: var(--teal); }
.dark .title em { color: var(--gold-pale); }
.lede { font-size: clamp(1rem, 1.2vw, 1.12rem); color: var(--muted); max-width: 36em; }
.dark .lede { color: rgba(251, 248, 238, .82); }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 52px; padding: 0 1.6em; background: var(--gold); color: var(--ink); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .3s, transform .3s var(--ease); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover { background: var(--gold-pale); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: var(--teal); }
.link { font-weight: 600; font-size: .92rem; text-underline-offset: .3em; text-decoration-thickness: 1px; }

/* Header ----------------------------------------------------------------- */
.hd { position: sticky; top: 0; z-index: 60; background: var(--ink); color: var(--ivory); border-bottom: 1px solid var(--line-dark); padding-top: env(safe-area-inset-top, 0px); }
.hd .inner { height: var(--hd); display: flex; align-items: center; gap: 24px; }
.mark { text-decoration: none; line-height: 1.15; flex: none; }
.mark b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1rem, 1.4vw, 1.25rem); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.mark small { display: block; margin-top: 3px; font-size: .58rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-pale); }
.nav { display: flex; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; }
.nav a { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: .7em 0; background: linear-gradient(var(--gold), var(--gold)) 0 85% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover { background-size: 100% 1px; }
.hd .btn { min-height: 42px; padding: 0 1.1em; font-size: .72rem; flex: none; }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; place-content: center; gap: 7px; flex: none; }
.burger i { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.mnav { position: fixed; inset: calc(var(--hd) + env(safe-area-inset-top, 0px)) 0 0; z-index: 59; background: var(--ink); color: var(--ivory); padding: 28px var(--gr) 110px var(--gl); display: flex; flex-direction: column; gap: 22px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
.mnav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
.mnav nav { display: grid; }
.mnav nav a { font-family: var(--display); font-size: 2rem; line-height: 1.35; text-decoration: none; }
.mnav__meta { display: grid; gap: .5em; padding-top: 20px; border-top: 1px solid var(--line-dark); }
@media (max-width: 920px) {
  :root { --hd: 64px; }
  .nav, .hd .btn { display: none; }
  .burger { display: grid; }
}

/* Hero ------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(calc(100svh - var(--hd)), 860px); }
.hero__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: clamp(40px, 6vw, 90px) clamp(24px, 4vw, 64px) clamp(40px, 6vw, 90px) var(--gl); }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 5.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em; }
.hero h1 em { display: block; color: var(--gold); }
.hero__sub { max-width: 30em; color: rgba(251, 248, 238, .84); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__note { font-size: .82rem; color: rgba(251, 248, 238, .6); }
.hero__pic { position: relative; overflow: hidden; min-height: 360px; }
.hero__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 40%; animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } }
.hero__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), transparent 18%), linear-gradient(0deg, rgba(6, 43, 41, .5), transparent 25%); pointer-events: none; }
.hero__cap { position: absolute; right: var(--gr); bottom: 18px; z-index: 1; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.weave { height: 8px; background: repeating-linear-gradient(90deg, var(--gold) 0 3px, var(--teal) 3px 7px, var(--gold-pale) 7px 9px, #7d1730 9px 14px, var(--gold) 14px 16px, var(--ink) 16px 24px); }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__text { padding-right: var(--gr); }
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 4.4rem); }
  .hero__pic { aspect-ratio: 4 / 5; min-height: 0; }
  .hero__pic::after { background: linear-gradient(180deg, var(--ink), transparent 14%), linear-gradient(0deg, rgba(6, 43, 41, .5), transparent 25%); }
}

/* Statement -------------------------------------------------------------- */
.state { background: var(--pearl); padding-block: var(--section); }
.state .inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.state .title { max-width: 16em; }
.state .lede { max-width: 42em; }

/* Collection tabs -------------------------------------------------------- */
.tabs { position: sticky; top: calc(var(--hd) + env(safe-area-inset-top, 0px)); z-index: 40; background: rgba(251, 251, 247, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tabs ul { display: flex; justify-content: center; gap: 8px; padding: 10px var(--gr) 10px var(--gl); overflow-x: auto; scrollbar-width: none; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 1.1em; white-space: nowrap; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.tabs a:hover { border-color: var(--ink); }
.tabs a.on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
@media (max-width: 640px) { .tabs ul { justify-content: flex-start; } }

/* Collection sections ---------------------------------------------------- */
.col { padding-block: var(--section); }
.col--pearl { background: var(--pearl); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 40px; align-items: end; margin-bottom: clamp(26px, 3.4vw, 48px); }
.head .eyebrow { grid-column: 1 / -1; }
.head .lede { justify-self: end; }
@media (max-width: 820px) { .head { grid-template-columns: minmax(0, 1fr); } .head .lede { justify-self: start; } }
.panel { background: var(--sand); padding: clamp(24px, 4vw, 56px); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; width: 100%; text-align: left; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); min-width: 0; }
.card:hover, .card:focus-visible { border-color: rgba(6, 43, 41, .35); box-shadow: 0 18px 40px -22px rgba(6, 43, 41, .45); transform: translateY(-3px); }
.card__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.cards--2 .card__img { aspect-ratio: 1 / 1; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__img img, .card:focus-visible .card__img img { transform: scale(1.04); }
.card__count { position: absolute; left: 12px; top: 12px; padding: .35em .7em; background: rgba(6, 43, 41, .82); color: var(--ivory); font-size: .7rem; font-weight: 600; letter-spacing: .06em; }
.card__body { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; }
.card__body b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.2; }
.card__body small { display: block; margin-top: .2em; font-size: .78rem; color: var(--muted); }
.card__plus { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 1.1rem; transition: background .3s, color .3s, transform .45s var(--ease); }
.card:hover .card__plus, .card:focus-visible .card__plus { background: var(--ink); color: var(--ivory); border-color: var(--ink); transform: rotate(90deg); }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); color: var(--ivory); }
.dark .card:hover, .dark .card:focus-visible { border-color: rgba(251, 248, 238, .4); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); }
.dark .card__body small { color: rgba(251, 248, 238, .65); }
.dark .card__plus { border-color: var(--line-dark); }
.dark .card:hover .card__plus, .dark .card:focus-visible .card__plus { background: var(--gold); color: var(--ink); border-color: var(--gold); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards, .cards--2 { grid-template-columns: minmax(0, 1fr); } .cards--2 .card__img { aspect-ratio: 4 / 5; } }

/* Occasion --------------------------------------------------------------- */
.occ { padding-block: var(--section); }
.occ .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.occ__pic { aspect-ratio: 4 / 5; overflow: hidden; }
.occ__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.occ__text { display: grid; gap: 22px; justify-items: start; }
.points { display: grid; width: 100%; max-width: 30em; border-top: 1px solid var(--line-dark); }
.points li { display: flex; gap: 1.2em; align-items: baseline; padding: .85em 0; border-bottom: 1px solid var(--line-dark); }
.points span { font-family: var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .occ .inner { grid-template-columns: minmax(0, 1fr); } }

/* Closing ---------------------------------------------------------------- */
.moment { background: var(--pearl); padding-block: var(--section); }
.moment .inner { display: grid; justify-items: center; gap: 20px; text-align: center; }
.moment .btn { margin-top: 8px; }
.contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 26px; margin-top: 4px; font-size: .92rem; }
.phone { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; text-underline-offset: .3em; }
.socials { display: inline-flex; flex-wrap: wrap; gap: 4px 20px; }
.social { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; text-underline-offset: .3em; }
.social svg { width: 17px; height: 17px; flex: none; }
.social.pending { opacity: .5; text-decoration: none; }

/* Footer ----------------------------------------------------------------- */
.ft { padding-block: 34px calc(34px + env(safe-area-inset-bottom, 0px)); font-size: .86rem; }
.ft .inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; }
.ft .mark b { font-size: 1rem; }
.ft__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
@media (max-width: 920px) { .ft { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); } }

/* Phone booking bar ------------------------------------------------------ */
.mbar { display: none; position: fixed; inset: auto 0 0; z-index: 50; padding: 10px var(--gr) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gl); background: rgba(6, 43, 41, .95); border-top: 1px solid var(--line-dark); transition: transform .4s var(--ease); }
.mbar .btn { width: 100%; }
.mbar.off { transform: translateY(110%); }
@media (max-width: 920px) { .mbar { display: block; } }

/* Dialogs ---------------------------------------------------------------- */
dialog { border: 0; padding: 0; color: inherit; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(3, 22, 21, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--ivory); transition: background .25s, color .25s; }
.x:hover { background: var(--ivory); color: var(--ink); }

.gl { margin: 0; width: 100%; height: 100%; background: rgba(4, 28, 27, .97); color: var(--ivory); overflow: auto; }
.gl[open] { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.gl__stage { position: relative; display: grid; place-items: center; height: 100svh; padding: clamp(14px, 2.4vw, 36px); min-width: 0; }
.gl__stage > img { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 2 * clamp(14px, 2.4vw, 36px)); object-fit: contain; animation: fade .4s var(--ease); }
.gl__arrow { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; background: rgba(4, 28, 27, .75); border: 1px solid var(--line-dark); transition: background .25s, color .25s; }
.gl__arrow:hover { background: var(--ivory); color: var(--ink); }
.gl__arrow--p { left: clamp(14px, 2.4vw, 36px); }
.gl__arrow--n { right: clamp(14px, 2.4vw, 36px); }
.gl__side { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1em; padding: clamp(20px, 3vw, 56px) var(--gr) clamp(20px, 3vw, 56px) clamp(10px, 2vw, 30px); min-width: 0; }
.gl__side h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.06; }
.gl__side p { color: rgba(251, 248, 238, .82); }
.gl__count { font-size: .82rem; color: var(--gold-pale) !important; font-variant-numeric: tabular-nums; }
.gl__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.gl__thumbs button { width: 62px; height: 78px; overflow: hidden; opacity: .5; transition: opacity .25s; }
.gl__thumbs button:hover, .gl__thumbs button.on { opacity: 1; }
.gl__thumbs button.on { box-shadow: 0 0 0 2px var(--gold); }
.gl__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gl__close { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: var(--gr); z-index: 2; background: rgba(4, 28, 27, .75); }
@media (max-width: 860px) {
  .gl[open] { grid-template-columns: minmax(0, 1fr); grid-auto-rows: min-content; }
  .gl__stage { height: auto; padding: 66px 12px 8px; }
  .gl__stage > img { max-height: 58svh; }
  .gl__arrow { top: calc(50% + 29px); }
  .gl__arrow--p { left: 16px; }
  .gl__arrow--n { right: 16px; }
  .gl__side { padding: 12px var(--gr) 30px var(--gl); }
}

.bk { margin: auto; width: min(1040px, calc(100vw - 32px)); height: min(780px, calc(100svh - 32px)); background: transparent; overflow: hidden; }
.bk[open] { display: flex; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.bk__panel { display: flex; flex-direction: column; width: 100%; min-width: 0; background: var(--ivory); color: var(--text); }
.bk__head { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px 12px clamp(16px, 3vw, 26px); background: var(--ink); color: var(--ivory); }
.bk__head small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.bk__head b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.15; }
.bk__frame { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; padding: 16px; color: var(--muted); }
.bk__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bk__foot { flex: none; padding: 7px 16px; text-align: center; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }

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