/* MK DYE website: shared styles for the homepage, bridal page and other public pages.
   Colors come from the 3D logo; fonts are Bricolage Grotesque (headings) and Instrument Sans (text). */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-latin.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/fonts/bricolage-grotesque-latin.woff2) format("woff2"); }
/* Layout: one long homepage built like a dye studio's swatch book — a hero swatch card, swatch-label service cards,
   a stitched seam for the process, and a deep-teal band for reviews. Single light look on purpose (it's a brand site). */
:root {
  --paper: #ffffff; --mist: #f5f6f4; --ink: #15191a; --soft: #4d5557; --line: #e3e6e3;
  --orange: #c9531f; --orange-deep: #a8431a; --rust: #8a2a0e; --teal: #17605f; --teal-ink: #0f3f3e; --coral: #d2483a; --cream: #efe4d2;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif; --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.in { max-width: 1160px; margin: 0 auto; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.025em; text-wrap: balance; margin: 0; }
a { color: inherit; }
/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: #fff; }
.nav .in { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 20px/1 var(--display); letter-spacing: .02em; }
.brand img { height: 44px; filter: drop-shadow(0 4px 5px rgba(0,0,0,.15)); }
.links { display: flex; gap: 22px; margin-left: auto; font: 600 15px/1 var(--body); }
.links a { text-decoration: none; color: var(--soft); } .links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 16px/1 var(--body); text-decoration: none; border: 2px solid transparent; transition: transform .15s, background-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn.primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(201,83,31,.28); }
.btn.primary:hover { background: var(--orange-deep); }
.btn.ghost { border-color: var(--ink); color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
@media (max-width: 900px) { .links { display: none; } }
/* hero */
.hero .in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fdf0e8; color: var(--rust); font: 700 14px/1 var(--body); }
.eyebrow .stars { color: var(--orange); letter-spacing: 1px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: .98; font-weight: 800; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { font-size: 19px; color: var(--soft); max-width: 56ch; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.fibers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.fibers span { font: 600 13px/1 var(--body); padding: 8px 12px; border-radius: 8px; background: var(--mist); color: var(--soft); border: 1px dashed #c9cfcb; }
.swatch { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 28px; background: var(--cream); padding: 18px; box-shadow: 0 30px 60px rgba(60,30,10,.16); }
.swatch::before { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(138,42,14,.35); border-radius: 18px; pointer-events: none; }
.swatch img { position: absolute; inset: 9% 12% 13%; width: 76%; height: 78%; object-fit: contain; filter: drop-shadow(0 28px 26px rgba(90,30,8,.32)); }
.label { position: absolute; background: #fff; border-radius: 10px; padding: 8px 12px; box-shadow: 0 10px 24px rgba(0,0,0,.12); font: 600 12px/1.25 var(--body); color: var(--soft); }
.label b { display: block; font: 800 15px/1.1 var(--display); color: var(--ink); }
.label i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.label.l1 { left: -18px; bottom: 16%; } .label.l2 { right: -14px; top: 12%; }
@media (prefers-reduced-motion: no-preference) { .swatch img { animation: float 6s ease-in-out infinite; } @keyframes float { 50% { transform: translateY(-10px) rotate(-1.5deg); } } }
@media (max-width: 860px) { .hero .in { grid-template-columns: 1fr; gap: 36px; padding-block: 40px 56px; } .swatch { max-width: 420px; justify-self: center; width: 100%; } .label.l1 { left: 8px; } .label.l2 { right: 8px; } }
/* trust strip */
.trust { background: var(--mist); border-block: 1px solid var(--line); }
.trust .in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 20px; }
.trust div { display: grid; gap: 2px; } .trust b { font: 800 22px/1.1 var(--display); } .trust span { font-size: 14px; color: var(--soft); }
@media (max-width: 760px) { .trust .in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* sections */
section.block .in { padding-block: 88px; }
.head { display: grid; gap: 12px; max-width: 720px; margin-bottom: 40px; }
.kicker { font: 700 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.head h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.02; font-weight: 800; }
.head p { color: var(--soft); margin: 0; font-size: 18px; }
/* services as swatch labels */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card .band { height: 74px; background: var(--c); position: relative; }
.card .band::after { content: attr(data-code); position: absolute; right: 14px; bottom: 10px; font: 700 11px/1 ui-monospace, "SF Mono", Menlo, monospace; color: rgba(255,255,255,.85); letter-spacing: .08em; }
.card .body { padding: 20px 20px 22px; display: grid; gap: 10px; flex: 1; align-content: start; }
.card h3 { font-size: 22px; font-weight: 700; }
.card p { margin: 0; color: var(--soft); font-size: 16px; }
.card ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.card li { font: 600 14px/1.3 var(--body); padding-left: 20px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.card.wide { grid-column: 1 / -1; flex-direction: row; }
.card.wide .band { width: 32%; height: auto; min-height: 200px; }
.card .band.photo { overflow: hidden; } .card .band.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .band.photo::after { z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.card.wide a.more { justify-self: start; margin-top: 6px; font: 700 15px/1 var(--body); color: var(--orange); }
@media (max-width: 620px) { .card.wide { grid-column: auto; flex-direction: column; } .card.wide .band { width: auto; min-height: 74px; } }
/* portfolio */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 320px; gap: 14px; }
.shot { position: relative; border-radius: 16px; overflow: hidden; background: var(--mist); margin: 0; }
.shot.wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.shot figcaption b { background: rgba(255,255,255,.94); color: var(--ink); border-radius: 8px; padding: 6px 10px; font: 700 14px/1.1 var(--display); }
.shot figcaption span { background: var(--ink); color: #fff; border-radius: 8px; padding: 6px 8px; font: 600 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.video { background: linear-gradient(135deg, #22303a, #17605f 55%, #c9531f); display: grid; place-items: center; color: #fff; }
.video .play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 22px; padding-left: 4px; border: 2px solid rgba(255,255,255,.6); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; grid-auto-flow: dense; } .shot.wide { grid-column: span 2; } }
.beforeafter { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--mist); border-radius: 24px; padding: 28px; }
.beforeafter h3 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.beforeafter p { color: var(--soft); margin: 0 0 12px; font-size: 16px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba div { aspect-ratio: 3 / 4; border-radius: 14px; display: grid; place-items: end start; padding: 10px; color: #fff; font: 700 13px/1 var(--body); }
.ba .b { background: linear-gradient(160deg, #1d2a4a, #23345e); } .ba .a { background: linear-gradient(160deg, #3d5a8a, #9fb4d6 60%, #2a3e66); }
@media (max-width: 760px) { .beforeafter { grid-template-columns: 1fr; padding: 20px; } }
/* process: a stitched seam */
.seam { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; counter-reset: step; }
.seam li { position: relative; padding-top: 58px; }
.seam li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font: 800 15px/1 var(--display); z-index: 1; }
.seam li::after { content: ""; position: absolute; top: 21px; left: 52px; right: -24px; border-top: 2px dashed #e0b9a3; }
.seam li:nth-child(3n)::after { display: none; }
.seam h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.seam p { margin: 0; color: var(--soft); font-size: 16px; }
@media (max-width: 860px) { .seam { grid-template-columns: 1fr; } .seam li::after { display: none; } .seam li { padding: 0 0 0 60px; } }
/* reviews band */
.reviews { background: var(--teal-ink); color: #eef6f5; }
.reviews .head p { color: #b7d3d0; } .reviews .kicker { color: #f5a77c; }
.score { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.score b { font: 800 64px/1 var(--display); color: #fff; }
.score .all { color: #f5a77c; font: 700 15px/1 var(--body); margin-left: auto; } .score span { color: #b7d3d0; } .score .stars { color: #f5a77c; font-size: 22px; letter-spacing: 2px; }
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.quote { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: #e3efee; }
.quote .who { display: flex; align-items: center; gap: 10px; font: 700 15px/1.2 var(--body); }
.quote .who i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #f5a77c; color: var(--teal-ink); font: 800 14px/1 var(--display); font-style: normal; }
.quote .who small { display: block; font-weight: 500; color: #9fc2be; }
.quote .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quote .pics figure { margin: 0; position: relative; } .quote .pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.quote .pics figcaption { position: absolute; left: 6px; top: 6px; background: rgba(0,0,0,.6); color: #fff; font: 700 10px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 4px 6px; border-radius: 5px; }
.quote a { color: #f5a77c; font: 700 14px/1 var(--body); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font: 700 19px/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); font: 600 20px/1 var(--body); color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--soft); }
/* contact */
.contact .in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; }
.start { background: var(--orange); color: #fff; border-radius: 28px; padding: 36px; display: grid; gap: 16px; position: relative; overflow: hidden; }
.start::after { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(255,255,255,.35); border-radius: 18px; pointer-events: none; }
.start h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1; font-weight: 800; }
.start p { margin: 0; color: #ffe7da; font-size: 18px; max-width: 46ch; }
.start ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-weight: 600; }
.start .btn { background: #fff; color: var(--rust); justify-self: start; position: relative; z-index: 1; }
.info { display: grid; gap: 12px; align-content: start; }
.info div { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.info h3 { font-size: 17px; margin-bottom: 4px; } .info p { margin: 0; color: var(--soft); font-size: 16px; } .info a { color: var(--orange); font-weight: 700; }
@media (max-width: 860px) { .contact .in { grid-template-columns: 1fr; } .start { padding: 26px; } }
/* footer */
footer { background: #0e1414; color: #b9c4c3; }
footer .in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-block: 56px 28px; font-size: 15px; }
footer h3 { color: #fff; font-size: 16px; margin-bottom: 10px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } footer a { text-decoration: none; } footer a:hover { color: #fff; }
footer .brand { color: #fff; margin-bottom: 10px; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid #243030; padding-top: 18px; font-size: 13px; }
@media (max-width: 760px) { footer .in { grid-template-columns: 1fr 1fr; } footer .in > :first-child { grid-column: 1 / -1; } }
/* phone action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mbar .btn { flex: 1; justify-content: center; min-height: 46px; }
  footer { padding-bottom: 70px; }
}

/* phone menu */
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.nav .menu { display: none; }
section[id], .hero { scroll-margin-top: 76px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav .btn { margin: 0 auto; }
  .nav .menu.open { display: grid; gap: 2px; padding-bottom: 12px; }
  .menu a { padding: 12px 4px; font: 600 17px/1 var(--body); text-decoration: none; border-bottom: 1px solid var(--line); }
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
/* real media in the portfolio */
.shot { cursor: zoom-in; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; }
.shot video { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.shot .badge-play { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: 14px; padding-left: 3px; }
.ba div { position: relative; overflow: hidden; padding: 0; background: #1d2a4a; }
.ba video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba span { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font: 700 12px/1 var(--body); padding: 6px 8px; border-radius: 6px; }
/* reviews slider */
.slider { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 86%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.track .quote { scroll-snap-align: start; }
.quote .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #f5a77c; }
.quote .stars-sm { color: #f5a77c; letter-spacing: 1px; font-size: 13px; }
.quote .gbadge { display: inline-flex; align-items: center; gap: 4px; font: 600 12px/1 var(--body); color: #9fc2be; }
.quote .gbadge svg { width: 13px; height: 13px; }
.quote blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.quote button.more { justify-self: start; background: none; border: 0; padding: 0; color: #fff; font: 700 14px/1 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.quote .pics { grid-template-columns: repeat(4, 1fr); }
.quote .pics button { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.quote .pics img { aspect-ratio: 1; }
.slide-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.slide-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.slide-nav button:hover { background: rgba(255,255,255,.1); }
.slide-nav button:focus-visible, .quote button:focus-visible, .quote a:focus-visible { outline: 3px solid #f5a77c; outline-offset: 3px; }
/* lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); max-height: 90vh; }
dialog.lightbox::backdrop { background: rgba(10,14,14,.88); }
dialog.lightbox img, dialog.lightbox video { display: block; max-width: 100%; max-height: 86vh; border-radius: 14px; margin: 0 auto; }
dialog.lightbox .x { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 24px; cursor: pointer; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb-nav.prev { left: calc(14px + env(safe-area-inset-left, 0px)); } .lb-nav.next { right: calc(14px + env(safe-area-inset-right, 0px)); }
.lb-nav:hover { background: rgba(255,255,255,.3); } .lb-nav[hidden] { display: none; }
.lb-count { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); margin: 0; color: #fff; background: rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; font: 700 13px/1 var(--body); }
.lb-count:empty { display: none; }
/* the floating "Text us" button: the phone bar already has one */
@media (max-width: 760px) { .mkt-fab { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* map under the contact cards */
.contact .map { grid-column: 1 / -1; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--mist); aspect-ratio: 21 / 8; min-height: 280px; }
.contact .map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 760px) { .contact .map { aspect-ratio: 4 / 3; } }
/* FAQ: centered column */
#faq .head { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
#faq .faq { margin-left: auto; margin-right: auto; }
