/* NJ Dental Ceramics — shared, progressively enhanced site styles. */
:root {
  --ink: #171716;
  --muted: #6c6b67;
  --paper: #ffffff;
  --soft: #f8f7f4;
  --blush: #ead7d5;
  --rose: #a97671;
  --line: #deddd8;
  --dark-line: #454540;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, Helvetica, sans-serif;
  --gutter: clamp(24px, 6vw, 96px);
  --header-height: 106px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.menu-open, body.lightbox-open { overflow: hidden; }
body.contact-open { overflow: hidden; }
::selection { background: var(--blush); color: var(--ink); }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(58px, 7.5vw, 112px); letter-spacing: -.04em; }
h2 { font-size: clamp(42px, 4.6vw, 68px); letter-spacing: -.025em; }
h3 { font-size: clamp(29px, 2.5vw, 38px); letter-spacing: -.015em; }
h4 { font-size: 27px; }
em { font-family: var(--serif); font-weight: 400; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .55em; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 5px; }
.dark-section :focus-visible, .hero :focus-visible, .contact-band :focus-visible { outline-color: var(--blush); }
.sr-only, .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: var(--gutter); z-index: 300; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.container { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 90px; }
.section > .container { position: relative; }
.section.section-small { padding-block: 48px; }
.eyebrow { display: block; margin: 0 0 24px; font-family: var(--sans); font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 25px; height: 1px; margin: 0 11px 3px 0; background: var(--rose); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 15px 25px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: white; font-size: 11px; font-weight: 600; line-height: 1.45; letter-spacing: .075em; text-align: center; text-decoration: none; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.button.blush, .button.contact-nav, .button--blush { border-color: var(--blush); background: var(--blush); color: var(--ink); }
.button.outline, .button--outline { background: transparent; color: var(--ink); }
.button.light, .button--light { border-color: white; background: white; color: var(--ink); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: 14px; width: fit-content; padding: 4px 0 7px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .06em; transition: color .2s, border-color .2s, transform .3s var(--ease); }

/* A white, original-logo masthead. */
.site-header { position: sticky; top: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--header-height); padding: 3px var(--gutter); border-bottom: 1px solid rgba(23, 23, 22, .08); background: white; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.site-header .brand img { width: 150px; height: 100px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2.05vw, 32px); }
.desktop-nav > a:not(.button) { position: relative; padding-block: 12px; font-size: 10px; font-weight: 500; line-height: 1.4; letter-spacing: .025em; white-space: nowrap; }
.desktop-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.desktop-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.contact-nav { min-height: 42px; padding: 12px 19px; white-space: nowrap; }
.menu-toggle { display: none; position: relative; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 48px; height: 48px; padding: 10px; border: 0; background: transparent; font-size: 11px; }
.menu-toggle span:not(.sr-only):not(.visually-hidden) { display: block; width: 24px; height: 1px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:first-child:not(.sr-only) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2):not(.sr-only) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-height) 0 0; z-index: 79; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 32px var(--gutter) 64px; overflow-y: auto; background: var(--soft); }
.mobile-menu > a:not(.button) { display: block; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(30px, 6vw, 46px); line-height: 1.15; }
.mobile-menu .button { margin-top: 26px; }

/* The supplied portrait film is framed, never stretched into a landscape. */
.hero { position: relative; isolation: isolate; min-height: 720px; overflow: hidden; background: #141413; color: white; }
.hero-media { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 48%; background: #292724; }
.hero-media video, .hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #141413 0%, rgba(20, 20, 19, .38) 27%, rgba(20, 20, 19, .06) 64%), linear-gradient(0deg, rgba(20, 20, 19, .5), transparent 35%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(78%, 1040px); padding: 106px var(--gutter) 150px; }
.hero .eyebrow { margin-bottom: 33px; color: #ddd9d3; }
.hero h1 { max-width: 760px; font-size: clamp(76px, 8.2vw, 120px); line-height: .94; letter-spacing: -.035em; }
.hero h1 em { color: var(--blush); }
.hero-copy { max-width: 410px; margin-top: 30px; color: #d0cec9; font-size: 13px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 35px; }
.hero-actions .text-link { color: white; border-color: rgba(255, 255, 255, .55); }
.hero-bottom { position: absolute; z-index: 2; right: var(--gutter); bottom: 35px; left: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-caption { max-width: 360px; margin: 0; color: #c9c7c1; font-size: 9px; line-height: 1.8; letter-spacing: .12em; text-transform: uppercase; }
#video-toggle { flex-shrink: 0; min-height: 44px; padding: 10px 15px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 0; background: rgba(23, 23, 22, .22); color: white; font-size: 10px; line-height: 1.4; letter-spacing: .06em; transition: background .2s; }

/* Material and system marks remain deliberately understated. */
.logo-strip { padding: 29px var(--gutter); border-bottom: 1px solid var(--line); background: var(--soft); }
.logo-track { display: flex; align-items: center; justify-content: space-between; gap: 38px; width: 100%; max-width: 1220px; margin-inline: auto; overflow-x: auto; scrollbar-width: thin; }
.logo-track img { flex: 0 0 auto; width: auto; max-width: 110px; height: auto; max-height: 45px; object-fit: contain; filter: grayscale(1); opacity: .7; }
.logo-strip .eyebrow { margin-bottom: 20px; text-align: center; }
.intro-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 130px); align-items: start; }
.intro-title h2 { max-width: 540px; }
.intro-copy { padding-top: 38px; color: var(--muted); }
.intro-copy .text-link { margin-top: 20px; color: var(--ink); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-heading .eyebrow { margin-bottom: 17px; }
.section-heading h2 { max-width: 780px; }
.section-heading > .text-link { flex-shrink: 0; margin-bottom: 7px; }
.section-heading > p { max-width: 390px; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.case-card { min-width: 0; }
.case-card > a { display: block; }
.case-image { overflow: hidden; background: #ebe9e5; }
.case-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .65s var(--ease); }
.case-image.clinical img, .case-image.detail img, .case-image.contain img, .case-image img.clinical-detail, .case-image img.contain { object-fit: contain; background: #141413; }
.case-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 10px; color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.case-card h3 { font-size: clamp(29px, 2.35vw, 36px); }
.case-card p:not(.case-meta) { margin-top: 12px; color: var(--muted); font-size: 12px; }
.case-card .text-link { margin-top: 20px; }
.dark-section { background: var(--ink); color: white; }
.dark-section .eyebrow { color: #d4d1cb; }
.dark-section p { color: #c3c0b9; }
.craft-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(48px, 7vw, 110px); }
.craft-image { overflow: hidden; }
.craft-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.craft-copy h2 { max-width: 570px; margin-bottom: 27px; }
.craft-copy > p { max-width: 450px; font-size: 13px; }
.service-list { margin-top: 34px; }
.service-row { display: flex; align-items: baseline; gap: 22px; padding: 19px 0; border-top: 1px solid var(--dark-line); }
.service-row:last-child { border-bottom: 1px solid var(--dark-line); }
.service-row > span:first-child, .service-row .service-number { flex: 0 0 24px; color: #baaaa5; font-family: var(--sans); font-size: 10px; letter-spacing: .08em; }
.service-row h3 { font-size: 28px; }
.service-row p { margin-top: 8px; font-size: 12px; }
.service-row > a { flex: 1; }
.craft-copy > .text-link { margin-top: 32px; }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(50px, 9vw, 140px); }
.portrait { overflow: hidden; background: var(--soft); }
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
.about-layout h2 { margin-bottom: 28px; }
.about-layout p { max-width: 510px; color: var(--muted); }
.about-layout .text-link { margin-top: 24px; }
.quote-section { padding-block: 85px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); text-align: center; }
.quote-section blockquote, .quote-section .quote { max-width: 980px; margin: 0 auto; font-family: var(--serif); font-size: clamp(37px, 4.5vw, 65px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.quote-section blockquote p { margin: 0; color: var(--ink); }
.quote-section cite { display: block; margin-top: 24px; font-family: var(--sans); font-size: 10px; font-style: normal; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.process-item { padding-top: 28px; border-top: 1px solid var(--line); }
.process-number, .process-item > .number { display: block; margin-bottom: 34px; color: var(--rose); font-size: 11px; letter-spacing: .1em; }
.process-item h3 { margin-bottom: 18px; font-size: 33px; }
.process-item p { color: var(--muted); font-size: 13px; }
.faq { max-width: 1000px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 0; list-style: none; font-size: 14px; font-weight: 500; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 24px; font-size: 24px; font-weight: 400; text-align: center; }
.faq details[open] summary::after { content: "−"; }
.faq details > p, .faq details > div { max-width: 850px; padding: 0 40px 24px 0; color: var(--muted); font-size: 13px; }
.contact-band { padding-block: 74px; background: var(--ink); color: white; }
.contact-band > .container { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.contact-band h2 { max-width: 820px; font-size: clamp(45px, 5vw, 74px); }
.contact-band .button { flex-shrink: 0; }

/* Inner-page editorial layouts. */
.page-hero { padding: 76px 0 65px; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, #faf6f5, #fff 75%); }
.page-hero h1 { max-width: 1060px; font-size: clamp(62px, 7vw, 104px); }
.page-intro { max-width: 640px; margin-top: 27px; color: var(--muted); font-size: 14px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; color: var(--muted); font-size: 10px; }
.breadcrumb a { border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-color: currentColor; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.breadcrumb li { margin: 0; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(48px, 8vw, 120px); }
.split-layout > img, .split-layout > figure img { width: 100%; }
figure { margin: 0; }
figcaption { margin-top: 13px; color: var(--muted); font-size: 11px; }
.prose { min-width: 0; color: var(--muted); }
.prose h2 { margin: 44px 0 24px; color: var(--ink); font-size: clamp(36px, 3.5vw, 49px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 18px; color: var(--ink); font-size: 30px; }
.prose p, .prose li { font-size: 14px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.button) { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #b7aaa5; }
.prose .button { margin-top: 15px; }
.prose > :last-child { margin-bottom: 0; }
.pill-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.pill-filters button { min-height: 44px; padding: 11px 19px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--muted); font-size: 11px; line-height: 1.5; transition: background .2s, color .2s, border-color .2s; }
.pill-filters button.active, .pill-filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }
.case-stage { padding-block: 64px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 24px); }
.case-stage:first-child { padding-top: 0; }
.stage-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.stage-heading h2 { font-size: clamp(38px, 4vw, 55px); }
.stage-heading p { max-width: 440px; color: var(--muted); font-size: 12px; }
.stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stage-grid figure { min-width: 0; }
.lightbox-trigger { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #161616; cursor: zoom-in; }
.lightbox-trigger img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .65s var(--ease); }
.lightbox-trigger::after { content: "↗"; position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 17px; }
#lightbox { position: fixed; inset: 0; display: none; width: min(94vw, 1320px); max-width: 94vw; max-height: 94dvh; padding: 48px 28px 23px; overflow: auto; border: 1px solid #484844; background: #171716; color: white; }
#lightbox[open], #lightbox.is-fallback-open { display: grid; justify-items: center; gap: 18px; }
#lightbox.is-fallback-open { z-index: 200; margin: auto; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .88); }
#lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox-close { position: absolute; top: 8px; right: 9px; display: grid; place-items: center; min-width: 44px; min-height: 36px; padding: 5px 10px; border: 0; background: transparent; color: white; font-size: 20px; }
#lightbox-image { width: auto; max-width: 100%; max-height: 76vh; max-height: 76dvh; object-fit: contain; }
#lightbox-caption { max-width: 800px; margin: 0; color: #d1cec7; font-size: 12px; line-height: 1.6; text-align: center; }
.table-wrap { width: 100%; margin: 28px 0 45px; overflow-x: auto; scrollbar-width: thin; }
.fee-table { width: 100%; min-width: 520px; border-collapse: collapse; text-align: left; font-size: 13px; }
.fee-table caption { padding-bottom: 18px; font-family: var(--serif); font-size: 30px; line-height: 1.2; text-align: left; }
.fee-table th { padding: 16px 20px; border-bottom: 1px solid var(--ink); background: var(--soft); color: var(--ink); font-size: 10px; font-weight: 600; line-height: 1.6; letter-spacing: .06em; }
.fee-table td { padding: 17px 20px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.fee-table td:first-child { color: var(--ink); }
.fee-table th:last-child, .fee-table td:last-child, .fee-table .price { text-align: right; font-variant-numeric: tabular-nums; }
.fee-table td:last-child { white-space: nowrap; }
.fee-table small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 36px; padding: 30px; border: 1px solid var(--line); background: var(--soft); }
.download-card h3 { margin-bottom: 9px; font-size: 31px; }
.download-card p { max-width: 550px; color: var(--muted); font-size: 12px; }
.download-card > .button, .download-card > .text-link { flex-shrink: 0; }
.notice { padding: 21px 24px; border-left: 2px solid var(--rose); background: #faf6f5; color: var(--muted); font-size: 12px; line-height: 1.8; }
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.terms-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: clamp(48px, 7vw, 110px); }
.sticky-index { position: sticky; top: calc(var(--header-height) + 36px); padding-top: 4px; }
.sticky-index .eyebrow { margin-bottom: 16px; }
.sticky-index a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.sticky-index ul, .sticky-index ol { padding: 0; margin: 0; list-style: none; }
.sticky-index li { margin: 0; }
.terms-layout .prose h2, .terms-layout .prose section { scroll-margin-top: calc(var(--header-height) + 28px); }

/* Plain email-draft enquiries: no fictitious delivery or patient uploads. */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(48px, 8vw, 120px); }
.contact-details h2 { margin-bottom: 26px; }
.contact-details h3 { margin: 30px 0 10px; font-size: 29px; }
.contact-details p { color: var(--muted); font-size: 13px; }
.contact-details a:not(.button) { display: inline-block; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #b7aaa5; }
.contact-details address { margin-top: 26px; color: var(--muted); font-size: 13px; font-style: normal; }
.enquiry-form { min-width: 0; }
.enquiry-form > h2 { margin-bottom: 28px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.enquiry-form label, .sticky-form label { display: block; margin-bottom: 22px; color: var(--ink); font-size: 11px; font-weight: 500; line-height: 1.6; }
.field-grid > label { min-width: 0; margin-bottom: 0; }
.field-grid { margin-bottom: 24px; }
.field-grid .full-width, .field-grid .field-full { grid-column: 1 / -1; }
.enquiry-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .enquiry-form select, .enquiry-form textarea, .sticky-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .sticky-form select, .sticky-form textarea { display: block; width: 100%; min-height: 45px; margin-top: 8px; padding: 9px 0; border: 0; border-bottom: 1px solid #afaea7; border-radius: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 400; line-height: 1.5; transition: border-color .2s; }
.enquiry-form textarea, .sticky-form textarea { min-height: 125px; resize: vertical; }
.enquiry-form input::placeholder, .enquiry-form textarea::placeholder, .sticky-form input::placeholder { color: #898780; opacity: 1; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus, .sticky-form input:focus { border-bottom-color: var(--rose); }
.enquiry-form input[type="checkbox"], .sticky-form input[type="checkbox"] { width: 17px; height: 17px; margin: 3px 9px 0 0; accent-color: var(--ink); vertical-align: top; }
.enquiry-form label:has(input[type="checkbox"]), .sticky-form label:has(input[type="checkbox"]), .consent-label { margin-block: 25px; font-size: 11px; font-weight: 400; line-height: 1.7; }
.enquiry-form label a, .sticky-form label a { text-decoration: underline; text-underline-offset: 3px; }
.enquiry-form > .notice { margin-bottom: 26px; }
.form-status { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #8e3731; }
.form-status[data-state="draft"] { padding: 15px 18px; border-left: 2px solid var(--rose); background: #faf6f5; }
.honeypot, .field-honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-sticky { position: fixed; right: 28px; bottom: 25px; z-index: 110; opacity: 0; visibility: hidden; transform: translateY(15px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.contact-sticky.is-visible, .contact-sticky.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
#contact-launch { display: flex; align-items: center; gap: 13px; min-height: 50px; padding: 14px 20px; border: 1px solid var(--blush); border-radius: 0; background: var(--blush); color: var(--ink); box-shadow: 0 6px 28px rgba(0, 0, 0, .12); font-size: 11px; line-height: 1.4; transition: background .2s, transform .25s var(--ease); }
.sticky-label { font-size: 11px; font-weight: 600; letter-spacing: .035em; }
.sticky-dot { display: block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
#contact-popover { position: absolute; right: 0; bottom: calc(100% + 14px); width: min(390px, calc(100vw - 48px)); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); padding: 33px 30px 28px; overflow-y: auto; border: 1px solid var(--line); background: white; box-shadow: 0 15px 65px rgba(0, 0, 0, .17); }
#contact-popover .eyebrow { margin-bottom: 15px; padding-right: 25px; font-size: 9px; }
#contact-popover h3 { margin-bottom: 22px; font-size: 35px; }
#contact-popover > p { margin-bottom: 20px; color: var(--muted); font-size: 12px; }
#contact-close { position: absolute; top: 9px; right: 8px; display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 7px; border: 0; background: transparent; color: var(--ink); font-size: 21px; }
.sticky-form .button { width: 100%; }
.sticky-form label { margin-bottom: 18px; }
.sticky-form .notice { padding: 12px; font-size: 10px; }
.contact-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(23, 23, 22, .27); }

/* A generous footer keeps fixed contact controls clear of content. */
.site-footer, footer { padding: 58px var(--gutter) 110px; border-top: 1px solid var(--line); background: var(--soft); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; width: 100%; max-width: calc(1400px - 2 * var(--gutter)); margin-inline: auto; padding-bottom: 46px; }
.footer-top .brand img { width: 150px; height: 100px; object-fit: contain; }
.footer-top p { max-width: 310px; margin-top: 16px; color: var(--muted); font-size: 11px; }
.footer-top h3, .footer-top h4 { margin: 20px 0 17px; font-family: var(--sans); font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.footer-top nav, .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-top a:not(.brand) { font-size: 11px; overflow-wrap: anywhere; }
.footer-top ul { margin: 0; padding: 0; list-style: none; }
.footer-top li { margin: 0 0 8px; }
.footer-bottom { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 20px; width: 100%; max-width: calc(1400px - 2 * var(--gutter)); margin-inline: auto; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.8; }
.footer-bottom p { margin: 0; }
.footer-bottom > div, .footer-bottom nav { display: flex; flex-wrap: wrap; gap: 23px; }

/* Reveal effects are opt-in only after a working observer is installed. */
.reveal { opacity: 1; transform: none; }
.js-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal.is-visible { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover { transform: translateY(-2px); background: #3a3935; border-color: #3a3935; }
  .button.blush:hover, .button.contact-nav:hover, .button--blush:hover { border-color: #dbc0bc; background: #dbc0bc; color: var(--ink); }
  .button.outline:hover, .button--outline:hover { background: var(--ink); color: white; }
  .button.light:hover, .button--light:hover { background: var(--blush); border-color: var(--blush); color: var(--ink); }
  .text-link:hover { transform: translateX(3px); color: var(--rose); }
  .desktop-nav > a:not(.button):hover::after { transform: scaleX(1); }
  .case-card:hover .case-image img, .lightbox-trigger:hover img { transform: scale(1.025); }
  .pill-filters button:not(.active):hover { border-color: #aaa59c; color: var(--ink); }
  .footer-top a:not(.brand):hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
  #video-toggle:hover { background: rgba(23, 23, 22, .7); }
  #contact-launch:hover { transform: translateY(-2px); background: #dbc0bc; }
}

@media (min-width: 1600px) {
  .hero-content { margin-left: max(0px, calc((100vw - 1600px) / 2)); }
  .hero { min-height: 780px; }
}
@media (max-width: 1200px) {
  .desktop-nav { gap: 16px; }
  .desktop-nav > a:not(.button) { font-size: 9px; }
  .site-header { gap: 20px; }
  .hero-content { width: 82%; }
  .process-grid { gap: 32px; }
}
@media (max-width: 1024px) {
  :root { --header-height: 90px; --gutter: 5vw; }
  .site-header .brand img { width: 126px; height: 80px; }
  .js .desktop-nav { display: none; }
  .js .menu-toggle { display: flex; }
  .desktop-nav { flex-wrap: wrap; gap: 8px 16px; }
  .section { padding-block: 72px; }
  .hero { min-height: 680px; }
  .hero-content { width: 86%; padding-top: 100px; padding-bottom: 150px; }
  .hero h1 { font-size: clamp(74px, 9vw, 100px); max-width: 680px; }
  .hero-copy { max-width: 370px; }
  .intro-layout, .craft-layout, .about-layout, .split-layout, .contact-layout { gap: 48px; }
  .case-grid { gap: 20px; }
  .case-meta { font-size: 8px; }
  .case-card h3 { font-size: 30px; }
  .terms-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 45px; }
  .footer-top { gap: 40px; }
}
@media (max-width: 768px) {
  :root { --gutter: 24px; --header-height: 84px; }
  body { font-size: 14px; }
  .site-header { padding-block: 2px; }
  .site-header .brand img { width: 120px; height: 78px; }
  .site-header .desktop-nav { gap: 5px 12px; }
  .section { padding-block: 62px; }
  h2 { font-size: clamp(43px, 7vw, 58px); }
  .eyebrow { font-size: 9px; margin-bottom: 20px; }
  .hero { min-height: 720px; min-height: min(820px, max(700px, calc(100svh - var(--header-height)))); }
  .hero-media { inset: 0; width: 100%; }
  .hero-media video { object-position: 50% 40%; }
  .hero-shade { background: linear-gradient(90deg, rgba(20, 20, 19, .82), rgba(20, 20, 19, .25)), linear-gradient(0deg, rgba(20, 20, 19, .88), rgba(20, 20, 19, .05) 75%); }
  .hero-content { width: 100%; padding-top: 90px; padding-bottom: 158px; }
  .hero h1 { max-width: 620px; font-size: clamp(66px, 11.3vw, 92px); line-height: .98; }
  .hero .eyebrow { margin-bottom: 26px; }
  .hero-copy { max-width: 390px; font-size: 12px; color: #e1ded7; }
  .hero-actions { gap: 23px; margin-top: 28px; }
  .hero-caption { max-width: 270px; font-size: 8px; }
  .hero-bottom { bottom: 25px; gap: 20px; }
  .logo-strip { padding-block: 25px; }
  .logo-track { justify-content: flex-start; gap: 34px; padding-bottom: 5px; }
  .logo-track img { max-width: 95px; max-height: 35px; }
  .intro-layout, .craft-layout, .about-layout, .split-layout, .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .intro-copy { padding-top: 0; }
  .intro-title h2 { max-width: 550px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 32px; }
  .section-heading > .text-link { margin-bottom: 0; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .case-card h3 { font-size: 31px; }
  .craft-layout { gap: 42px; }
  .craft-image img { max-height: 590px; aspect-ratio: 5 / 4; }
  .craft-copy h2, .craft-copy > p { max-width: none; }
  .about-layout .portrait { width: min(100%, 470px); }
  .about-layout p { max-width: none; }
  .quote-section { padding-block: 65px; }
  .process-grid { grid-template-columns: 1fr; gap: 34px; }
  .process-item { padding-top: 20px; }
  .process-number, .process-item > .number { margin-bottom: 20px; }
  .process-item p { max-width: 560px; }
  .faq summary { padding-block: 21px; font-size: 13px; }
  .contact-band { padding-block: 60px; }
  .contact-band > .container { align-items: flex-start; flex-direction: column; gap: 28px; }
  .contact-band h2 { font-size: clamp(44px, 8vw, 64px); }
  .page-hero { padding: 53px 0 48px; }
  .page-hero h1 { font-size: clamp(56px, 9vw, 78px); }
  .page-intro { margin-top: 22px; font-size: 13px; }
  .stage-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .case-stage { padding-block: 46px; }
  .stage-grid { gap: 14px; }
  .stage-grid figcaption { font-size: 10px; }
  .download-card { align-items: flex-start; flex-direction: column; padding: 25px; }
  .terms-layout { grid-template-columns: 1fr; gap: 38px; }
  .sticky-index { position: static; }
  .sticky-index a { padding-block: 9px; }
  .contact-layout { gap: 48px; }
  .contact-details { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer-top h3, .footer-top h4 { margin-top: 0; }
  .footer-bottom { flex-direction: column; gap: 15px; }
  .contact-sticky { right: 20px; bottom: 20px; }
  #contact-popover { width: min(390px, calc(100vw - 40px)); }
  #lightbox { width: 96vw; max-width: 96vw; padding: 46px 14px 20px; }
}
@media (max-width: 480px) {
  :root { --gutter: 21px; }
  .section { padding-block: 52px; }
  .site-header { gap: 10px; }
  .desktop-nav { justify-content: flex-end; }
  .desktop-nav > a:not(.button) { font-size: 9px; padding-block: 5px; }
  .desktop-nav .contact-nav { min-height: 34px; padding: 8px 10px; font-size: 9px; }
  .hero { min-height: 730px; }
  .hero-content { padding-top: 73px; padding-bottom: 140px; }
  .hero h1 { font-size: clamp(57px, 13.9vw, 68px); }
  .hero-copy { max-width: 310px; margin-top: 25px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-actions .button { min-height: 50px; padding-inline: 22px; }
  .hero-bottom { align-items: flex-end; }
  .hero-caption { max-width: 175px; font-size: 7px; }
  #video-toggle { min-height: 42px; padding-inline: 11px; font-size: 9px; }
  .case-grid { grid-template-columns: 1fr; gap: 35px; }
  .case-card h3 { font-size: 34px; }
  .case-meta { font-size: 9px; }
  .craft-image img { aspect-ratio: 1 / 1; }
  .stage-grid { grid-template-columns: 1fr; gap: 22px; }
  .field-grid { grid-template-columns: 1fr; gap: 21px; }
  .pill-filters { gap: 8px; }
  .pill-filters button { padding-inline: 14px; font-size: 10px; }
  .fee-table th, .fee-table td { padding-inline: 14px; }
  .page-hero h1 { font-size: clamp(52px, 12vw, 64px); }
  .page-intro { font-size: 12px; }
  .footer-top { gap: 28px 18px; }
  .footer-top a:not(.brand) { font-size: 10px; }
  .contact-sticky { right: 14px; bottom: 14px; }
  #contact-launch { min-height: 47px; padding: 12px 16px; }
  #contact-popover { width: min(370px, calc(100vw - 28px)); padding: 31px 23px 24px; max-height: calc(100dvh - 96px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .js-reveal { opacity: 1 !important; transform: none !important; }
  .case-card:hover .case-image img, .lightbox-trigger:hover img, .button:hover, .text-link:hover, #contact-launch:hover { transform: none !important; }
}
@media print {
  .site-header, .hero-media, .hero-bottom, .contact-sticky, .contact-backdrop, .pill-filters, #lightbox, .skip-link, .menu-toggle, .mobile-menu { display: none !important; }
  body, .dark-section, .hero, .contact-band { background: white !important; color: black !important; }
  .hero { min-height: 0; }
  .hero-content { width: 100%; padding: 30px 0; }
  .hero-copy, .dark-section p { color: black; }
  .section { padding-block: 25px; }
  .container { max-width: none; padding-inline: 0; }
  .reveal, .js-reveal { opacity: 1 !important; transform: none !important; }
  .terms-layout, .contact-layout { display: block; }
  .sticky-index { display: none; }
  .table-wrap { overflow: visible; }
  .fee-table { min-width: 0; }
  footer { padding: 25px 0; }
  a[href^="mailto:"], a[href^="tel:"] { text-decoration: none; }
}

/* WordPress / Contact Form 7 integration. The plugin owns submission and status. */
.wpcf7 { min-width: 0; }
.wpcf7-form { margin: 0; }
.wpcf7-form label { display: block; margin-bottom: 22px; color: var(--ink); font-size: 11px; font-weight: 500; line-height: 1.6; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]), .wpcf7-form select, .wpcf7-form textarea { display: block; width: 100%; min-height: 45px; margin-top: 8px; padding: 9px 0; border: 0; border-bottom: 1px solid #afaea7; border-radius: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 1.5; transition: border-color .2s; }
.wpcf7-form textarea { min-height: 125px; resize: vertical; }
.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder { color: #898780; opacity: 1; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { border-bottom-color: var(--rose); }
.wpcf7-form .field-grid p { min-width: 0; margin: 0; }
.wpcf7-form .field-grid label { margin-bottom: 0; }
.wpcf7-form .wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 52px; margin: 0; padding: 15px 25px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: white; font-family: var(--sans); font-size: 11px; font-weight: 600; line-height: 1.45; letter-spacing: .075em; text-align: center; cursor: pointer; transition: background .25s, transform .3s var(--ease); }
.wpcf7-form .wpcf7-submit:disabled { opacity: .55; cursor: wait; }
#contact-popover .wpcf7-submit { width: 100%; }
.wpcf7-form input[type="checkbox"], .wpcf7-form input[type="radio"] { width: 17px; height: 17px; margin: 3px 9px 0 0; accent-color: var(--ink); vertical-align: top; }
.wpcf7-form .wpcf7-acceptance label, .wpcf7-form .wpcf7-checkbox label, .wpcf7-form .wpcf7-radio label { font-size: 11px; font-weight: 400; line-height: 1.7; }
.wpcf7-form .wpcf7-list-item { margin-left: 0; margin-right: 14px; }
.wpcf7-form label a { text-decoration: underline; text-underline-offset: 3px; }
.wpcf7-not-valid-tip { display: block; margin-top: 7px; color: #8e3731; font-size: 11px; line-height: 1.6; }
.wpcf7-form .wpcf7-not-valid:not([type="checkbox"]):not([type="radio"]) { border-bottom-color: #8e3731; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-left-width: 2px; background: var(--soft); color: var(--ink); font-size: 12px; line-height: 1.7; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-left-color: #8e3731; }
.wpcf7 form.sent .wpcf7-response-output { border-left-color: #53705a; }
.wpcf7 form.submitting .wpcf7-submit { cursor: wait; }
.instagram-footer { margin-top: 20px; }
.instagram-footer .text-link { font-size: 11px; }
.instagram-embed { margin-top: 20px; padding: 22px; border: 1px solid var(--line); background: white; }
.instagram-embed p { margin: 0 0 15px; font-size: 11px; }
.instagram-embed iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.instagram-embed .button { min-height: 44px; padding: 11px 16px; font-size: 10px; }
/* Account for the native WordPress administration toolbar when logged in. */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .mobile-menu { top: calc(var(--header-height) + 32px); }
body.admin-bar .sticky-index { top: calc(var(--header-height) + 68px); }
@media (hover: hover) and (pointer: fine) {
  .wpcf7-form .wpcf7-submit:not(:disabled):hover { background: #3a3935; transform: translateY(-2px); }
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .mobile-menu { top: calc(var(--header-height) + 46px); }
}
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
  body.admin-bar .mobile-menu { top: var(--header-height); }
}
@media (prefers-reduced-motion: reduce) {
  .wpcf7-form .wpcf7-submit:hover { transform: none !important; }
}

/* The theme may wrap the footer rows in the shared container. */
.site-footer > .container, footer > .container { padding-inline: 0; }
