:root {
  --ink: #20312e;
  --sage: #617d70;
  --cream: #f5f3ed;
  --line: #d7dfda;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Inter, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }

.hero {
  min-height: 100vh;
  position: relative;
  background: url('balanced-stones-background.jpg') center 66% / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  padding: clamp(32px, 6vw, 88px);
}
.shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,38,32,.74), rgba(32,58,49,.38) 48%, rgba(18,34,29,.18)), linear-gradient(0deg, rgba(12,26,22,.55), transparent 48%); }
.brand-lockup { position: absolute; z-index: 2; top: clamp(30px,5vw,66px); right: clamp(32px,6vw,88px); text-align: right; }
.brand { font: 700 clamp(30px,4vw,48px) Georgia,serif; }
.hero-copy { position: relative; z-index: 2; max-width: 710px; }
.eyebrow { margin: 0 0 17px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #ffffffb8; }
.eyebrow.dark { color: var(--sage); }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; }
h1 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(59.2px,8.8vw,118.4px); font-weight: 600; line-height: .82; letter-spacing: .01em; margin: 0 0 32px; }
.lead { font-size: clamp(18px,2vw,24px); line-height: 1.6; color: #ffffffe0; }
.ghost { display: inline-flex; gap: 24px; margin-top: 28px; border-bottom: 1px solid #ffffff8c; padding-bottom: 10px; font-size: 13px; font-weight: 700; }

.section-nav { position: sticky; top: 0; z-index: 20; display: flex; justify-content: center; gap: clamp(18px,4vw,52px); padding: 18px 24px; background: rgba(245,243,237,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.section-nav a { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.section-nav a:hover, .section-nav a:focus-visible { color: var(--ink); }

.product { padding: clamp(75px,10vw,145px) clamp(24px,7vw,110px); max-width: 1500px; margin: auto; }
.heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px,9vw,140px); align-items: end; margin-bottom: 80px; }
.heading h2, .gallery-heading h2 { font-size: clamp(42px,6vw,76px); line-height: 1.02; margin: 0; }
.answer-copy p { font-size: 18px; line-height: 1.75; color: #66736e; margin: 0; }
.answer-copy p + p { margin-top: 18px; }
.answer-copy strong { color: var(--ink); }

.features { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--line); margin-bottom: 120px; }
.features article { padding: 35px 36px 40px 0; }
.features article + article { border-left: 1px solid var(--line); padding-left: 36px; }
.features span { font: italic 18px Georgia; color: var(--sage); }
.features h3 { font: 400 25px Georgia; margin: 20px 0 10px; }
.features p { font-size: 14px; line-height: 1.7; color: #74807b; }

.industry-section, .workflow, .faq { margin-top: clamp(95px,10vw,145px); }
.section-intro { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: clamp(40px,8vw,130px); align-items: end; margin-bottom: 44px; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2 { font-size: clamp(40px,5vw,68px); line-height: 1.04; margin: 0; }
.section-intro > p:last-child { font-size: 17px; line-height: 1.7; color: #66736e; margin: 0; }
.section-intro.compact { display: block; max-width: 850px; }
.industry-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.industry-grid article { background: #eef1ec; padding: clamp(32px,4vw,58px); }
.industry-grid article:nth-child(2) { background: #e6ece8; }
.industry-label { font-size: 10px !important; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--sage) !important; }
.industry-grid h3 { font: 400 clamp(27px,3vw,39px) / 1.15 Georgia,serif; margin: 12px 0 20px; }
.industry-grid p, .industry-grid li { font-size: 15px; line-height: 1.75; color: #66736e; }
.industry-grid ul { margin: 25px 0 0; padding-left: 20px; }
.industry-grid li + li { margin-top: 7px; }

.workflow-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.workflow-steps li { display: flex; gap: 22px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-steps > li > span { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid var(--sage); border-radius: 50%; font: italic 16px Georgia; color: var(--sage); }
.workflow-steps h3 { font: 400 24px Georgia; margin: 3px 0 9px; }
.workflow-steps p { font-size: 14px; line-height: 1.7; color: #74807b; margin: 0; }

#screenshots { margin-top: clamp(95px,10vw,145px); }
.gallery-heading { margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 48px 34px; }
.shot { margin: 0; }
.image-button { width: 100%; aspect-ratio: 16/10; padding: 0; border: 1px solid #cbd6d0; background: #fff; cursor: zoom-in; position: relative; overflow: hidden; display: block; }
.image-button img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .28s ease; }
.image-button > span { position: absolute; right: 14px; bottom: 14px; padding: 9px 12px; background: rgba(29,52,44,.88); color: #fff; font: 700 10px/1 Arial,sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(5px); transition: .2s; }
.image-button:hover img, .image-button:focus-visible img { transform: scale(1.015); }
.image-button:hover > span, .image-button:focus-visible > span { opacity: 1; transform: none; }
.image-button:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.shot figcaption { padding: 16px 2px 0; font: 400 19px Georgia; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 25px 48px 25px 0; position: relative; font: 400 clamp(20px,2.4vw,27px) Georgia; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 5px; top: 20px; font: 300 30px Arial; color: var(--sage); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { max-width: 850px; margin: 0 0 27px; font-size: 16px; line-height: 1.75; color: #66736e; }

.banner { min-height: 245px; background: linear-gradient(90deg,#233d33f2,#4f685de0), url('balanced-stones-background.jpg') center 79% / cover; display: flex; color: #fff; }
.download { width: min(440px,40%); background: #f5f3edf5; color: var(--ink); padding: 42px clamp(28px,5vw,68px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.download:hover { background: #fff; }
.download span:first-child { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; color: var(--sage); margin-bottom: 12px; }
.download strong { font: 400 clamp(27px,3vw,42px) Georgia; }
.download small { margin-top: 12px; font-size: 12px; letter-spacing: .04em; color: #617d70; }
.download b { position: absolute; right: 34px; top: 50%; font-size: 24px; }
.message { flex: 1; padding: 45px clamp(35px,6vw,90px); display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; }
.message p { font: 400 clamp(24px,3vw,42px) Georgia; margin: 0 0 14px; }
.message span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #ffffff9e; }
.message > a { margin-top: 13px; font-size: 11px; color: #ffffffbd; border-bottom: 1px solid #ffffff66; }
.message > a:hover { color: #fff; }

.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 1000; inset: 0; background: rgba(8,17,14,.94); display: flex; align-items: center; justify-content: center; padding: 36px 75px; color: #fff; }
.lightbox-content { max-width: calc(100vw - 150px); max-height: calc(100vh - 70px); display: flex; flex-direction: column; align-items: center; gap: 13px; }
.lightbox-content img { display: block; max-width: 100%; max-height: calc(100vh - 125px); width: auto; height: auto; box-shadow: 0 20px 70px #0008; }
.lightbox-content > div { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.lightbox-content p { font: 400 17px Georgia; margin: 0; }
.lightbox-content p span { font-style: italic; color: #aac0b5; margin-right: 12px; }
.lightbox-content a { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid #ffffff80; padding-bottom: 5px; }
.lightbox-close, .lightbox-nav { position: fixed; border: 0; background: transparent; color: #fff; cursor: pointer; line-height: 1; }
.lightbox-close { right: 24px; top: 18px; font-size: 42px; }
.lightbox-nav { top: 50%; font: 200 60px/1 Arial; transform: translateY(-50%); padding: 20px; }
.lightbox-nav.previous { left: 5px; }
.lightbox-nav.next { right: 5px; }
.lightbox button:focus-visible, .lightbox a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 780px) {
  html { scroll-padding-top: 0; }
  .hero { min-height: 800px; align-items: flex-end; background-position: 63% center; }
  .brand-lockup { left: 25px; right: auto; text-align: left; }
  .hero-copy { margin-bottom: 60px; }
  .section-nav { position: static; justify-content: flex-start; gap: 22px; overflow-x: auto; white-space: nowrap; }
  .heading, .section-intro, .industry-grid, .workflow-steps { grid-template-columns: 1fr; }
  .heading, .section-intro { gap: 30px; }
  .answer-copy p { font-size: 16px; }
  .features { grid-template-columns: 1fr; margin-bottom: 95px; }
  .features article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .industry-grid { gap: 1px; }
  .workflow-steps { border-left: 0; }
  .workflow-steps li { padding: 26px 8px; border-right: 0; }
  .gallery { grid-template-columns: 1fr; }
  .faq-list summary { padding-right: 38px; }
  .banner { flex-direction: column; }
  .download { width: 100%; min-height: 170px; }
  .message { align-items: flex-start; text-align: left; min-height: 180px; }
  .lightbox { padding: 55px 15px; }
  .lightbox-content { max-width: 100%; max-height: calc(100vh - 85px); }
  .lightbox-content > div { align-items: flex-start; flex-direction: column; gap: 8px; }
  .lightbox-nav { font-size: 42px; background: #0a1713aa; padding: 12px; }
  .lightbox-nav.previous { left: 0; }
  .lightbox-nav.next { right: 0; }
}
