@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Manrope:wght@300;400;500&display=swap');

:root {
  --ink: #17201a;
  --pine: #263a2c;
  --moss: #4d614e;
  --gold: #a99131;
  --paper: #f7f7f3;
  --white: #fff;
  --line: rgba(23, 32, 26, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; font-size: 16px; }
body.no-scroll { overflow: hidden; }
main section[id] { scroll-margin-top: 72px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.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; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .8rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.section { width: min(1180px, calc(100% - 8vw)); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .77rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-family: "Manrope", sans-serif; font-weight: 300; font-size: clamp(3rem, 7vw, 6.75rem); line-height: .92; letter-spacing: -.055em; margin-bottom: 0; text-wrap: balance; }

.site-header { height: 72px; position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 2.2vw; background: rgba(255,255,255,.88); border-top: 2px solid var(--ink); border-bottom: 1px solid rgba(23,32,26,.08); box-shadow: 0 12px 34px rgba(18,30,21,.07); backdrop-filter: blur(20px) saturate(140%); }
.brand img { width: 74px; height: 54px; object-fit: contain; mix-blend-mode: multiply; }
nav { display: flex; gap: clamp(1.4rem, 2.6vw, 3.2rem); align-items: center; }
nav a { position: relative; text-decoration: none; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; color: #5a5e59; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 1px; background: var(--gold); transition: right .25s ease; }
nav a:hover::after, nav a:focus-visible::after, nav a.is-active::after { right: 0; }
.menu-toggle { display: none; border: 0; background: none; padding: .5rem; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 5px 0; background: var(--ink); }

.hero { min-height: min(900px, 100svh); margin-top: 72px; position: relative; overflow: hidden; background: #d8ddd7; }
.hero-slide { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0; transform: scale(1.035); transition: opacity 1s ease, transform 7s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 24%; background: linear-gradient(transparent, rgba(9,16,11,.34)); pointer-events: none; }
.hero-controls { position: absolute; z-index: 3; right: 2.5rem; bottom: 2.3rem; display: flex; gap: .65rem; }
.hero-controls button { width: 32px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .25s, background .25s; }
.hero-controls button.is-active { width: 58px; background: var(--white); }
.scroll-cue { position: absolute; z-index: 3; left: 2.5rem; bottom: 1.7rem; color: var(--white); text-decoration: none; display: flex; align-items: center; gap: .75rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue span:last-child { font-size: 1.4rem; }

.about { min-height: 640px; display: grid; grid-template-columns: .82fr 1.75fr; gap: 9vw; align-items: center; padding-block: 8rem; }
.section-kicker { font-family: "Manrope", sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .95; font-weight: 300; letter-spacing: -.05em; max-width: 5ch; text-transform: uppercase; position: relative; padding-top: 1.5rem; }
.section-kicker::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 2px; background: var(--gold); }
.about-copy { max-width: 800px; color: #4d554f; line-height: 1.8; }
.about-copy > p:not(.lead) { max-width: 72ch; margin-bottom: 0; }
.about-copy .lead { color: var(--ink); font-family: "Manrope", sans-serif; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.35; letter-spacing: -.025em; margin-bottom: 2.2rem; text-wrap: balance; }

.stone { position: relative; overflow: hidden; background: #f5f5f3; }
.stone-story { position: relative; z-index: 2; min-height: 410px; color: var(--white); background: rgba(59,82,61,.92); clip-path: polygon(0 0, 100% 0, 100% 79%, 0 100%); }
.stone-story::before { content: ""; position: absolute; inset: 0; background: url('hero-1.jpg') center 56%/cover; opacity: .11; mix-blend-mode: luminosity; }
.stone-story-inner { position: relative; display: grid; grid-template-columns: 300px 430px; justify-content: center; gap: clamp(5rem, 9vw, 9rem); padding-top: 3rem; }
.stone-story-inner p { margin: 0; font-size: .96rem; line-height: 1.48; text-align: justify; color: rgba(255,255,255,.96); }
.stone-marker { display: inline-block; margin-right: .7rem; font-size: 1.05rem; }
.stone-story-inner strong { font-weight: 600; }
.stone-specs { position: relative; min-height: 340px; margin-top: -86px; padding-top: 84px; background: #f7f7f6; }
.stone-specs::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.72)), url('hero-1.jpg') center 58%/cover; filter: grayscale(1); opacity: .55; }
.facts { position: relative; display: grid; grid-template-columns: 370px 370px; justify-content: center; gap: 1.25rem; padding-block: 0 3.5rem; }
.facts article { min-height: 248px; padding: 1.35rem 1.4rem; color: #526054; border: 1px solid #556657; border-radius: 14px; background: rgba(255,255,255,.22); }
.facts h3 { margin: 0 0 1.15rem; font-family: "Manrope", sans-serif; font-size: 1.45rem; font-weight: 300; color: #526054; }
.facts p { margin: 0; font-size: .86rem; line-height: 1.45; }
.facts sup { font-size: .65em; }
.facts .spec-notes { margin-top: 1.25rem; }

.work { background: var(--paper); }
.work-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; padding-block: 8rem 5rem; }
.work-heading p { margin: 0; max-width: 590px; font-size: 1.1rem; line-height: 1.7; color: #5a625b; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-flow: dense; gap: 2px; background: #111; }
.gallery button { position: relative; border: 0; padding: 0; min-height: 250px; overflow: hidden; background: #182018; cursor: zoom-in; }
.gallery button:nth-child(11n+1), .gallery button:nth-child(11n+7) { grid-column: span 2; grid-row: span 2; }
.gallery button:nth-child(7n+3) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .55s ease, filter .55s ease; }
.gallery button::after { content: "+"; position: absolute; right: 1rem; bottom: .7rem; color: white; font-size: 1.8rem; font-weight: 300; opacity: 0; transform: translateY(8px); transition: .25s; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.045); filter: saturate(1); }
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; transform: none; }

.contact { min-height: 630px; position: relative; display: flex; align-items: end; color: var(--white); background: url('photos/photo-15.jpg') center/cover fixed; }
.contact-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,18,14,.94), rgba(12,18,14,.46)); }
.contact-content { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 8vw; padding-block: 7rem; }
.contact address { font-style: normal; display: flex; flex-direction: column; gap: .6rem; font-size: 1.05rem; line-height: 1.65; }
.contact address a { text-decoration: none; }
.contact address a:hover { color: #d8c46d; }
.contact address p { margin: 1.2rem 0 0; color: rgba(255,255,255,.72); }
footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.6rem 4vw; background: #111713; color: rgba(255,255,255,.58); font-size: .8rem; letter-spacing: .05em; }
footer p { margin: 0; }
footer a { text-decoration: none; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: clamp(1rem, 4vw, 3rem); border: 0; background: rgba(8,12,9,.96); color: white; overflow: hidden; }
.lightbox::backdrop { background: rgba(8,12,9,.95); }
.lightbox[open] { display: grid; grid-template-columns: 70px 1fr 70px; grid-template-rows: 1fr auto; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); margin: auto; object-fit: contain; grid-column: 2; }
.lightbox p { grid-column: 2; text-align: center; margin: .8rem 0 0; color: rgba(255,255,255,.65); }
.lightbox button { border: 0; color: white; background: transparent; cursor: pointer; font-size: 2rem; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 50px; height: 50px; z-index: 2; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery button { min-height: 220px; }
  .about-copy { columns: 1; }
  .stone-story-inner { grid-template-columns: minmax(240px, 300px) minmax(330px, 390px); gap: 5vw; }
  .facts { grid-template-columns: minmax(300px, 370px) minmax(300px, 370px); }
}

@media (max-width: 720px) {
  main section[id] { scroll-margin-top: 64px; }
  .site-header { height: 64px; padding-inline: 1rem; }
  .brand img { width: 64px; height: 47px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem; padding: 15vw; background: var(--paper); transform: translateX(100%); transition: transform .35s ease; }
  nav.is-open { transform: none; }
  nav a { font-size: 1.5rem; }
  .hero { margin-top: 64px; min-height: 74svh; }
  .hero-slide { background-position: 44% center; }
  .scroll-cue { left: 1rem; bottom: 1rem; }
  .hero-controls { right: 1rem; bottom: 1.7rem; }
  .about, .work-heading, .contact-content { grid-template-columns: 1fr; gap: 3rem; }
  .about { padding-block: 6rem; }
  .about-copy { line-height: 1.65; }
  .stone-story { min-height: auto; clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
  .stone-story-inner { grid-template-columns: 1fr; gap: 2rem; padding-block: 3.5rem 5.5rem; }
  .stone-story-inner p { text-align: left; }
  .stone-specs { margin-top: -34px; padding-top: 72px; }
  .facts { grid-template-columns: 1fr; }
  .facts article { min-height: 0; padding: 1.6rem; }
  .work-heading { padding-block: 6rem 3rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery button, .gallery button:nth-child(n) { min-height: 190px; grid-column: span 1; grid-row: span 1; }
  .gallery button:nth-child(7n+1) { grid-column: span 2; min-height: 290px; }
  .contact { background-attachment: scroll; }
  .contact-content { padding-block: 6rem; }
  .lightbox[open] { grid-template-columns: 44px 1fr 44px; padding: 1rem .25rem; }
  footer { flex-direction: column; }
}

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