/* Fentons Granite and Glass — Look B ("gallery")
   Warm paper, serif headings with a brass italic, full-width photo, staggered work grid. */

:root {
  --ink: #161514;
  --mute: #6b6760;
  --paper: #fbfaf7;
  --line: #e2ded5;
  --brass: #7a5c32;   /* darkened from #8a6a3b so small gold text passes 4.5:1 on the tinted bands too */
  --brass-light: #c9ab78;
  --dark: #141414;
  --wrap: 1180px;
  --pad: clamp(22px, 5vw, 64px);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: Archivo, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
em { color: var(--brass); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 30; }

/* small capitals used for labels only */
.caps { font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sub { font-style: italic; color: var(--brass); letter-spacing: .03em; }

.btn {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  padding: 20px 30px; background: var(--ink); color: #fff; border: 1px solid var(--ink);
  box-shadow: 0 2px 0 rgba(0,0,0,.18); transition: background .2s, color .2s;
}
.btn:hover { background: var(--brass); border-color: var(--brass); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.small { padding: 13px 20px; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.site-head .wrap { max-width: none; display: flex; align-items: center; gap: 30px; padding-top: 8px; padding-bottom: 8px; }
.logo img { width: 200px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; font-style: italic; letter-spacing: .06em; font-size: 1rem; }
.site-nav a { text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--brass); }
.head-tel { text-decoration: none; white-space: nowrap; font-size: 1.05rem; }
.site-head .btn { white-space: nowrap; }
.menu { display: none; }

/* ---------- Hero ---------- */
/* heading and price button beside the photo, so the first screen says what we do */
/* (both halves sit inside the page's usual margins, equal widths, so neither side outweighs the other) */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 4vw, 56px) var(--pad) 0; }
.hero-text { padding: 0; }
.hero h1 { font-size: clamp(2.6rem, 3.5vw, 3.7rem); }
.hero .btn { padding: 19px 18px; }
.hero .sub { margin: 22px 0 18px; }
.hero .lede { max-width: 34em; color: #4d4a45; }
.hero .cta-pair { margin: 30px 0 18px; }
.hero .tel { font-style: italic; color: var(--brass); }
.hero .tel a { color: var(--ink); font-style: normal; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: min(72vh, 620px); object-fit: cover; object-position: center 60%; }
.hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 20px; color: #fff; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.62)); }
.hero-photo figcaption b { display: block; font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.hero-photo figcaption span { font-family: var(--sans); font-size: .74rem; letter-spacing: .08em; }

.intro { padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.intro .facts { margin-top: 0; }
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 38px 0 22px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 32px; } .hero-photo img { height: 56vh; } }

.facts { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; }
.facts dt { font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 1.15rem; line-height: 1.3; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: 70px; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .tag { font-size: 1.45rem; margin-top: 16px; }
.sec-head .tag em { font-style: italic; }

/* Work: even three-column grid of square photos, numbered captions */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) 28px; }
.works img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.works figcaption { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-top: 14px; }
.works figcaption b { font-weight: 400; font-size: 1.2rem; line-height: 1.3; }
.works figcaption i { font-style: normal; grid-column: 1; }
.works figcaption .n { grid-row: 1; grid-column: 2; align-self: center; }
.after { margin-top: clamp(40px, 6vw, 72px); }

/* Process — dark band, five picture steps left to right */
.process { background: var(--dark); color: #f3f0ea; }
.process em { color: var(--brass-light); }
.process .tag { color: #a9a49b; font-size: 1.2rem; }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.flow li { counter-increment: step; }
.flow img, .flow .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.flow .ph { border: 1px dashed #5a5650; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 16px; font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; color: #8d877d; line-height: 1.6; }
.flow .ph b { font-weight: 400; color: #c9c4ba; }
.flow h3 { margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid #4a4640; display: flex; align-items: baseline; gap: 12px; }
.flow h3::before { content: "0" counter(step); font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; color: var(--brass-light); }
.flow p { color: #c9c4ba; font-size: 1rem; line-height: 1.5; }
/* Materials */
.mats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; }
.mats a { text-decoration: none; }
.mats img, .mats .noimg { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mats .noimg { background: linear-gradient(140deg, #d5e3df, #a9c6c0 55%, #dfeae7); }
.mats h3 { margin: 16px 0 4px; }
.mats p { color: var(--mute); font-size: 1rem; line-height: 1.5; }
.brands { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.brands span { margin-right: 14px; }

/* Price */
.price { background: #f1eee7; }
.price .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.price p { max-width: 30em; margin: 22px 0 32px; color: #4d4a45; }
.price ol { margin: 0; padding: 0; list-style: none; counter-reset: p; }
.price ol li { counter-increment: p; padding: 18px 0; border-top: 1px solid #d6d1c5; display: flex; gap: 20px; align-items: baseline; font-size: 1.2rem; }
.price ol li:last-child { border-bottom: 1px solid #d6d1c5; }
.price ol li::before { content: "0" counter(p); font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; color: var(--brass); }

/* Reviews */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
blockquote { margin: 0; }
blockquote p { font-size: 1.3rem; line-height: 1.5; font-style: italic; }
blockquote footer { margin-top: 22px; }

/* Questions */
.faq { border-top: 1px solid var(--line); }
.faq .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 90px); }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 34px 20px 0; font-size: 1.25rem; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; color: var(--brass); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 22px; max-width: 36em; color: #4d4a45; }

/* Visit */
.visit { background: var(--dark); color: #f3f0ea; }
.visit em { color: var(--brass-light); }
.visit .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 90px); }
address { font-style: normal; margin: 26px 0; color: #c9c4ba; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 13px 0; border-top: 1px solid #33312e; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.contact-list .caps { color: var(--brass-light); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
form .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 6px; }
input, textarea { width: 100%; font: inherit; color: #fff; background: transparent; border: 0; border-bottom: 1px solid #5a5650; border-radius: 0; padding: 8px 0 10px; color-scheme: dark; }
input:focus, textarea:focus { outline: 0; border-bottom-color: var(--brass-light); }
.visit .btn { background: #f3f0ea; color: var(--ink); border-color: #f3f0ea; }
.visit .btn:hover { background: var(--brass-light); border-color: var(--brass-light); }
.form-note { font-size: .95rem; font-style: italic; color: #a9a49b; margin: 0; }

/* Footer */
.site-foot { background: var(--dark); color: #a9a49b; padding: 56px 0 30px; font-size: 1rem; border-top: 1px solid #33312e; }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.site-foot strong { display: block; font-family: var(--sans); font-weight: 400; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 4px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; }
.small-print { margin-top: 44px; padding-top: 18px; border-top: 1px solid #33312e; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1060px) {
  .site-nav { display: none; }
  .head-tel { margin-left: auto; }
  .menu { display: block; position: relative; border: 0; }
  .menu summary { padding: 9px 14px; border: 1px solid var(--ink); font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
  .menu summary::after { content: none; }
  .menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--ink); min-width: 230px; }
  .menu nav a { display: block; padding: 12px 16px; text-decoration: none; border-top: 1px solid var(--line); }
  .menu nav a:first-child { border-top: 0; }
}
@media (max-width: 820px) {
  body { font-size: 18px; }
  .price .wrap, .faq .wrap, .visit .wrap, .quotes, .cta-pair { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .works { grid-template-columns: 1fr 1fr; }
  .mats { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .site-head .wrap { gap: 14px; }
  .logo img { width: 150px; }
  .site-head .btn { display: none; }
  .hero-photo img { height: 48vh; }
}
@media (max-width: 520px) {
  .works { grid-template-columns: 1fr; }
  form { grid-template-columns: 1fr; }
}

/* ============ Inner pages ============ */
.site-nav a[aria-current="page"] { color: var(--brass); }

.page-head { padding: clamp(52px, 8vw, 104px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-head .caps { margin-bottom: 18px; color: var(--brass); }
.page-head .lede { max-width: 40em; color: #4d4a45; margin-top: 26px; font-size: 1.15rem; }
.page-head .cta-pair { max-width: 640px; margin-bottom: 0; }

.split { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.split-4-8 { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 90px); }
.split figure img { width: 100%; }
.app-split { grid-template-columns: 5fr 7fr; align-items: center; }
.app-shot { margin: 0; }
.app-shot img { display: block; height: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(22,21,20,.28); }
.app-shot figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted, #5f5a52); }
.tint { background: #f1eee7; }
.dark { background: var(--dark); color: #f3f0ea; }
.dark em { color: var(--brass-light); }
.dark p { color: #c9c4ba; }
.end h2 + p { margin: 18px 0 28px; max-width: 34em; }
.end h2 + .btn { margin-top: 28px; }

.prose { max-width: 40em; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 1.7em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .3em; }
.prose ul { padding-left: 1.1em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose p, .prose li { color: #3f3c38; }

.specs { margin: 28px 0 0; }
.specs div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); padding-top: 6px; }
.specs dd { margin: 0; }
.dark .specs div { border-color: #33312e; }
.dark .specs dt { color: var(--brass-light); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards > * { border-top: 1px solid var(--line); padding-top: 18px; }
.cards h3 { margin-bottom: 6px; }
.cards p { color: var(--mute); font-size: 1rem; line-height: 1.5; }
.dark .cards > * { border-color: #4a4640; }
.dark .cards p { color: #c9c4ba; }
.cards .n { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; color: var(--brass); display: block; margin-bottom: 8px; }

/* Stone swatches */
.stones { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 18px; }
.stones img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.stones figcaption { padding-top: 8px; font-size: 1.05rem; line-height: 1.2; }
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.groups img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.groups h3 { margin: 14px 0 6px; }
.groups p { color: var(--mute); font-size: 1rem; line-height: 1.5; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
th, td { text-align: left; padding: 13px 16px 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); font-weight: 400; }
tr:last-child td { border-bottom: 1px solid var(--line); }

/* Toggle and swatch buttons */
.toggle { display: inline-flex; border: 1px solid var(--ink); margin-bottom: 36px; }
.toggle button { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; background: transparent; border: 0; padding: 12px 20px; cursor: pointer; color: var(--ink); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.edge svg { width: 100%; background: #f1eee7; }
.edge path { fill: #d9d4c9; stroke: var(--ink); stroke-width: 1.5; }
.edge .mm { font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; color: var(--brass); margin-top: 10px; display: block; }
.edge .best { font-style: italic; color: var(--brass); margin-top: 6px; font-size: 1rem; }
#swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
#swatches button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #b9b3a7; cursor: pointer; padding: 0; }
#swatches button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 3px; }
.kitchen-svg { width: 100%; border: 1px solid var(--line); }

/* Forms on light backgrounds (the dark Visit band keeps its own colours) */
label { color: var(--brass); }
input, textarea, select { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #b9b3a7; border-radius: 0; padding: 8px 0 10px; color-scheme: light; }
select { padding-right: 20px; }
input:focus, textarea:focus, select:focus { outline: 0; border-bottom-color: var(--brass); }
input[type="radio"] { width: auto; margin-right: 6px; }
.radios label { display: inline-block; font-family: var(--serif); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin-right: 22px; }
.visit label { color: var(--brass-light); }
.visit input, .visit textarea { color: #fff; border-bottom-color: #5a5650; color-scheme: dark; }
.visit input:focus, .visit textarea:focus { border-bottom-color: var(--brass-light); }
main form .form-note { color: var(--mute); }
.visit form .form-note { color: #a9a49b; }

.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.hours div:last-child { border-bottom: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.tags span { border: 1px solid #cfc9bd; padding: 5px 14px; font-size: 1rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding-top: 10px; font-size: 1.1rem; }
.note { border-left: 2px solid var(--brass); padding: 4px 0 4px 20px; color: #4d4a45; max-width: 40em; }

@media (max-width: 1000px) {
  .stones { grid-template-columns: repeat(4, 1fr); }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .split, .split-4-8, .groups { grid-template-columns: 1fr; }
  .cards, .cards.two, .gallery { grid-template-columns: 1fr 1fr; }
  .stones { grid-template-columns: repeat(3, 1fr); }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 520px) {
  .cards, .cards.two, .cards.four, .gallery { grid-template-columns: 1fr; }
  .stones { grid-template-columns: repeat(2, 1fr); }
}
/* Contact list on light backgrounds */
.contact-list li { border-top-color: var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .caps { color: var(--brass); }
.visit .contact-list li { border-color: #33312e; }
.visit .contact-list .caps { color: var(--brass-light); }

/* Form sending states */
input[type="file"] { border-bottom: 0; padding: 6px 0; font-size: 1rem; }
.form-status { margin: 0; color: #8a2b1e; }
.form-status:empty { display: none; }
.visit .form-status { color: #f0b9ae; }
.form-done { border-top: 1px solid var(--brass); padding-top: 22px; }
.form-done h3 { font-size: 1.8rem; margin-bottom: 8px; }
.form-done:focus { outline: 0; }
button[disabled] { opacity: .6; cursor: default; }

/* Get a price page: the pricing tool (TopM8, in a frame) */
.pricer-wrap { padding-top: clamp(28px, 4vw, 48px); }
.pricer { display: block; width: 100%; height: 1100px; border: 0; background: transparent; }
.pricer-help { margin-top: 18px; color: var(--mute); }
/* WhatsApp button, every page */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; text-decoration: none; border-radius: 999px; padding: 10px 18px 10px 12px;
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: background .2s; }
.wa svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.wa:hover { background: #1ebe5b; }
.wa:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 600px) { .wa { right: 14px; bottom: 14px; padding: 12px; } .wa span { display: none; } }
@media print { .wa { display: none; } }
.pricer-down { border-top: 2px solid var(--ink); padding: 26px 0 8px; max-width: 40em; }
.pricer-down h3 { font-size: 1.6rem; margin-bottom: 10px; }

/* Noble Stone page */
.ns-filter { flex-wrap: wrap; }
.ns-grid figcaption small { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
.ns-grid figcaption small a { color: var(--brass); }
.ns-new { display: inline-block; font-family: var(--sans); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 2px 6px; margin-right: 8px; vertical-align: 2px; }
.ns-grid figure[hidden] { display: none; }
/* Noble Stone slab pop-up */
.ns-view { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--brass); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ns-box { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: var(--paper); color: var(--ink);
  display: none; grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); overflow: hidden; }
.ns-box[open] { display: grid; }
.ns-box::backdrop { background: rgba(20, 19, 18, .72); }
.ns-pic { background: #e9e6df; display: flex; align-items: center; justify-content: center; min-height: 300px; max-height: calc(100vh - 32px); }
.ns-pic img { max-width: 100%; max-height: calc(100vh - 32px); object-fit: contain; }
.ns-info { padding: 44px 30px 30px; display: flex; flex-direction: column; overflow-y: auto; }
.ns-info .caps { color: var(--brass); margin-bottom: 10px; }
.ns-info h2 { margin-bottom: 16px; }
.ns-info p { color: var(--mute); font-size: 1rem; }
.ns-actions { display: grid; gap: 10px; margin: 26px 0; }
.ns-step { margin-top: auto; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.ns-step button, .ns-close { background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 8px 0; }
.ns-close { position: absolute; top: 8px; right: 14px; font-size: 1.8rem; letter-spacing: 0; z-index: 2; }
@media (max-width: 760px) {
  .ns-box[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .ns-pic { min-height: 0; max-height: 60vh; }
  .ns-pic img { max-height: 60vh; }
  .ns-info { padding: 22px 20px 20px; }
}
/* Sample request inside the stockist pop-up */
.ns-ask { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .95rem; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: center; }
.ns-box.sampling .ns-actions, .ns-box.sampling .ns-info > p:not(.caps) { display: none; }
.ns-sample { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 10px 0 20px; }
.ns-sample .caps { margin: 0; }
.ns-sample input { font-size: 1rem; padding: 6px 0 8px; }
.ns-sample .form-note { font-size: .88rem; }
.ns-sample .form-note .ns-ask { font-size: .88rem; padding: 0; }
.ns-info .form-done h3 { font-size: 1.5rem; }
.form-status.ok { color: #2e6b3f; }

/* Materials page: one card per stockist */
.stockists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.stockists a { display: block; text-decoration: none; background: var(--paper); padding: 0 0 26px; border: 1px solid var(--line); }
.stockists img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.stockists h3 { font-size: 1.8rem; margin: 22px 24px 8px; }
.stockists p { margin: 0 24px 20px; color: var(--mute); font-size: 1rem; }
.stockists .btn { margin-left: 24px; }
.stockists a:hover .btn { background: var(--ink); color: #fff; }
@media (max-width: 820px) { .stockists { grid-template-columns: 1fr; } }
/* pop-up: the info panel scrolls on its own when it's taller than the screen (it was being cut off) */
.ns-box[open] { grid-template-rows: minmax(0, 1fr); }
.ns-info { max-height: calc(100vh - 32px); }
.ns-sample-head { margin: -4px 0 0; }
.ns-sample-head .ns-ask { padding: 0; font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.ns-sample-note { margin: 0; font-size: .92rem; color: var(--mute); line-height: 1.45; }
@media (max-width: 760px) {
  .ns-box[open] { grid-template-rows: auto auto; }
  .ns-info { max-height: none; }
}
/* Material guides */
.guides { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 20px; }
.guides a { text-decoration: none; display: flex; flex-direction: column; }
.guides img, .guides .noimg { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.stone-blank { background: linear-gradient(135deg, #efece6 0%, #e4dfd6 45%, #f3f0ea 60%, #ddd7cc 100%); }
.guides .caps { margin: 14px 0 4px; color: var(--brass); }
.guides h3 { font-size: 1.5rem; margin-bottom: 6px; }
.guides p { color: var(--mute); font-size: .98rem; line-height: 1.45; }
.more-link { margin-top: auto; padding-top: 10px; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.guides a:hover .more-link { color: var(--brass); }
.compare-wrap { overflow-x: auto; }
.compare { min-width: 760px; }
.compare th[scope="col"] { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.compare th[scope="col"] a { text-decoration: none; }
.compare th[scope="row"] { white-space: nowrap; }
.rate { display: inline-block; font-family: var(--sans); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border: 1px solid currentColor; }
.rate-excellent { color: #2e6b3f; }
.rate-very-good { color: #446b33; }
.rate-with-care, .rate-now-and-then, .rate-regularly { color: var(--brass); }
.rate-not-recommended { color: #8a2b1e; }
.rate-never { color: #2e6b3f; }
.guide-head .split { align-items: center; }
.guide-pic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.places > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.places h3 { margin: 12px 0 8px; }
.places p:not(.rate) { color: var(--mute); font-size: 1rem; line-height: 1.5; }
.ticks, .cautions { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li, .cautions li { padding: 10px 0 10px 30px; border-top: 1px solid #d6d1c5; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: #2e6b3f; }
.cautions li::before { content: "!"; position: absolute; left: 8px; color: var(--brass); font-weight: 600; }
.other-guides { margin-top: 30px; color: var(--mute); }
@media (max-width: 1000px) { .guides { grid-template-columns: repeat(3, 1fr); } .places { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .guides { grid-template-columns: 1fr 1fr; } .places { grid-template-columns: 1fr; } }
/* Materials page: list of guides beside the "Not sure which material?" text */
.guide-links { list-style: none; margin: 0; padding: 0; }
.guide-links a { display: grid; grid-template-columns: 8rem 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #d6d1c5; text-decoration: none; }
.guide-links li:last-child a { border-bottom: 1px solid #d6d1c5; }
.guide-links b { font-weight: 400; font-size: 1.25rem; }
.guide-links span { color: var(--mute); font-size: .95rem; line-height: 1.45; }
.guide-links a:hover b { color: var(--brass); }
@media (max-width: 520px) { .guide-links a { grid-template-columns: 1fr; gap: 2px; } }
/* ---- Colour pop-up, fixed size (no scrolling): the slab on the left, the colour and buttons on the right ---- */
.ns-box { width: min(1180px, calc(100vw - 48px)); height: min(680px, calc(100vh - 48px)); max-height: none; overflow: hidden; }
.ns-box[open] { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr); grid-template-rows: minmax(0, 1fr); }
.ns-pic { position: relative; overflow: hidden; height: 100%; min-height: 0; max-height: none; background: #e9e6df; touch-action: none; }
.ns-pic img { width: 100%; height: 100%; max-height: none; object-fit: contain; transition: transform .25s ease; }
.ns-pic.zoom img { object-fit: cover; transform: scale(3); cursor: zoom-in; transition: transform .25s ease, transform-origin .08s linear; }
.ns-views { position: absolute; top: 14px; left: 14px; display: flex; background: rgba(251,250,247,.92); border: 1px solid var(--ink); }
.ns-views button { border: 0; background: none; padding: 9px 16px; font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.ns-views button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ns-hint { display: none; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 6px 12px; background: rgba(22,21,20,.72); color: #fff; font-family: var(--sans); font-size: .68rem; letter-spacing: .08em; white-space: nowrap; }
.ns-pic.zoom .ns-hint { display: block; }
.ns-info { max-height: none; overflow: hidden; padding: 44px 28px 22px; display: flex; flex-direction: column; }
.ns-info h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 12px; }
.ns-credit { font-size: .92rem !important; line-height: 1.45; }
.ns-actions { margin: 20px 0 10px; }
.ns-step { margin-top: auto; }

/* the sample window */
.ns-sample-box { width: min(580px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 30px 30px 26px; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; }
.ns-sample-box::backdrop { background: rgba(20, 19, 18, .72); }
.ns-sample-box .ns-close { top: 10px; right: 16px; }
.ns-sample { grid-template-columns: 1fr 1fr; gap: 16px 22px; margin: 0; }
.ns-sample .full, .ns-sample-top, .ns-sample-note, .ns-sample .form-status { grid-column: 1 / -1; }
.ns-sample-top { display: flex; align-items: center; gap: 16px; }
.ns-sample-top img { width: 72px; height: 72px; object-fit: cover; flex: none; }
.ns-sample-top .caps { margin: 0 0 4px; color: var(--brass); }
.ns-sample-top h2 { font-size: 1.7rem; }

@media (max-width: 760px) {
  .ns-box { width: calc(100vw - 20px); height: calc(100vh - 20px); max-height: none; }
  .ns-box[open] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
  .ns-pic { max-height: none; }
  .ns-pic img { max-height: none; }
  .ns-info { padding: 16px 18px 12px; }
  .ns-info h2 { font-size: 1.6rem; margin-bottom: 4px; }
  .ns-credit { display: none; }
  .ns-actions { margin: 12px 0 6px; gap: 8px; }
  .ns-actions .btn { padding: 13px 16px; min-height: 0; }
  .ns-sample { grid-template-columns: 1fr; }
}

/* Partner login: an outlined button beside "Get a price" (in the Menu on smaller screens) */
@media (max-width: 1240px) { .site-nav { gap: 18px; } .head-tel { font-size: .98rem; } }
@media (max-width: 1060px) { .site-head .head-login { display: none; } }
@media (max-width: 1120px) and (min-width: 1061px) { .site-nav { gap: 14px; } .site-head .wrap { gap: 20px; } }
/* keep the logo full size; between phone and full desktop widths the header phone number gives way to the two buttons */
.site-head .logo { flex: none; }
@media (max-width: 1240px) and (min-width: 1061px) { .site-head .head-tel { display: none; } .site-nav { margin-right: 6px; } }

/* Partner login drop-down */
.login-drop { position: relative; }
.login-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 340px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.16); padding: 6px; z-index: 30; }
.login-panel iframe { display: block; width: 100%; height: 250px; border: 0; background: transparent; }
.login-fallback { margin: 0; padding: 18px 16px; font-size: 1rem; }
.login-drop .head-login[aria-expanded="true"] { background: var(--ink); color: #fff; }
.login-panel iframe[hidden] { display: none; }
.login-loading { margin: 0; padding: 14px 16px 0; font-size: .95rem; color: var(--mute); }
/* partner login not open yet */
.login-soon { padding: 16px 18px 6px; }
.login-soon p { margin: 0 0 12px; font-size: 1rem; }
.login-soon .caps { margin-bottom: 6px; }
.login-soon .login-soon-when { font-size: 1.35rem; line-height: 1.25; }
.menu-soon { color: var(--mute); }
.menu-soon em { font-size: .9em; }
.btn.soon { cursor: default; opacity: .6; }
.soon-note { margin: 24px 0 0; max-width: 32em; padding: 12px 16px; border-left: 3px solid var(--brass, #a8864a); background: rgba(0,0,0,.03); }

/* the two header buttons sit 12px apart; the login drop-down is at the far right */
.site-head .btn.small + .login-drop { margin-left: -16px; }

/* six stockists: three across, two on laptops and tablets */
.stockists { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stockists h3 { font-size: 1.55rem; margin: 20px 20px 8px; }
.stockists p { margin: 0 20px 18px; }
.stockists .btn { margin-left: 20px; }
/* each card the same height, its button at the bottom, so the buttons line up across a row */
.stockists a { display: flex; flex-direction: column; }
.stockists a .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 1100px) { .stockists { grid-template-columns: 1fr 1fr; } }
/* the five Cosentino ranges: five across on wide screens, then three, then two */
.stockists.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.stockists.five h3 { font-size: 1.4rem; margin: 18px 16px 6px; }
.stockists.five p { margin: 0 16px 16px; font-size: .95rem; }
.stockists.five .btn { margin-left: 16px; margin-bottom: 0; }
@media (max-width: 1240px) { .stockists.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { .stockists.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .stockists { grid-template-columns: 1fr; } }

/* heading that only screen readers and search engines see */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Stockist pages: choose a look first */
.looks-pick { margin-bottom: 40px; }
.looks-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 22px; }
.looks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.looks button { display: block; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font: inherit; }
.looks img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; outline: 1px solid var(--line); outline-offset: -1px; transition: opacity .2s; }
.looks b { display: block; font-weight: 400; font-size: 1.12rem; line-height: 1.25; margin-top: 10px; }
.looks small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
.looks button:hover img { opacity: .85; }
.looks button:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.looks-all { margin-top: 22px; }
.looks-all button { background: none; border: 0; padding: 0; font: inherit; font-size: 1.02rem; color: var(--brass); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.looks-all button[aria-pressed="true"] { color: var(--ink); text-decoration: none; font-weight: 600; }
/* once a look is chosen the tiles shrink to a strip, so switching is one click */
.looks-pick.picked .looks-title { font-size: 1.05rem; font-family: var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.looks-pick.picked .looks-title em { font-style: normal; }
.looks-pick.picked .looks { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.looks-pick.picked .looks button { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 6px; }
.looks-pick.picked .looks img { width: 44px; flex: none; }
.looks-pick.picked .looks b { font-size: .95rem; margin: 0; }
.looks-pick.picked .looks small { display: none; }
.looks-pick.picked .looks button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.looks-pick.picked .looks-all { margin-top: 12px; }
@media (max-width: 1000px) {
  .looks, .looks-pick.picked .looks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .looks, .looks-pick.picked .looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ns-filter[hidden], .ns-grid[hidden], .looks button[hidden] { display: none; }

/* Materials page: the natural stone collection band, above the stockists */
.natural-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; color: inherit; text-decoration: none; margin-bottom: clamp(48px, 6vw, 80px); }
.natural-band img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.natural-band h2 { margin: 8px 0 14px; }
.natural-band p:not(.caps) { margin-bottom: 22px; max-width: 30em; }
.natural-band:hover img { opacity: .9; }
.stockists-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 24px; }
@media (max-width: 760px) { .natural-band { grid-template-columns: 1fr; } }
