/*
  Sutterville Tile & Timber — California Artisan Gallery
  Material-led, editorial asymmetry: Kiln Clay actions, olive catalogue labels,
  Cormorant Garamond headings, Manrope utility text, framed imagery, grout-line motifs.
*/

:root {
  --ivory: #f6f0e5;
  --paper: #fffcf5;
  --clay: #b54e35;
  --clay-dark: #8d3928;
  --olive: #566149;
  --olive-dark: #323a2c;
  --cacao: #28231e;
  --sand: #ded0bd;
  --muted: #70695f;
  --line: rgba(40, 35, 30, 0.18);
  --shadow: 0 22px 60px rgba(52, 43, 32, 0.14);
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--cacao);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .26;
  background-image: radial-gradient(rgba(78, 63, 45, .22) .5px, transparent .65px);
  background-size: 6px 6px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea { font: inherit; }
.visually-hidden { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; white-space: nowrap; width: 1px; clip: rect(0 0 0 0); }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.skip-link {
  background: var(--cacao);
  color: var(--paper);
  left: 1rem;
  padding: .75rem 1rem;
  position: fixed;
  top: -4rem;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }
.page-shell { overflow: clip; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.inner { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.eyebrow {
  align-items: center;
  color: var(--olive);
  display: flex;
  font-size: .68rem;
  font-weight: 800;
  gap: .65rem;
  letter-spacing: .17em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.eyebrow::before { background: var(--clay); content: ""; height: .55rem; width: .55rem; }
.section-title { font-family: var(--display); font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 600; letter-spacing: -.055em; line-height: .9; margin: 0; }
.section-copy { color: var(--muted); font-size: 1.02rem; margin: 1.25rem 0 0; max-width: 39rem; }
.tile-grid { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 18px 18px; }

.site-header {
  background: rgba(255, 252, 245, .91);
  border-bottom: 1px solid rgba(40, 35, 30, .1);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner { align-items: center; display: flex; gap: 1.5rem; justify-content: space-between; min-height: 5rem; width: min(1280px, calc(100% - 2rem)); margin: 0 auto; }
.brand { align-items: center; display: inline-flex; gap: .8rem; text-decoration: none; }
.brand-mark { height: 2.35rem; width: 2.35rem; }
.brand-words { display: grid; gap: .1rem; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 1.42rem; font-weight: 700; letter-spacing: -.035em; }
.brand-tag { color: var(--olive); font-size: .54rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.site-nav { align-items: center; display: flex; gap: clamp(.9rem, 2vw, 1.7rem); }
.site-nav a { color: var(--olive-dark); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; }
.site-nav a:not(.header-call) { position: relative; }
.site-nav a:not(.header-call)::after { background: var(--clay); bottom: -.3rem; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease-out); width: 100%; }
.site-nav a:not(.header-call):hover::after { transform: scaleX(1); }
.header-call { background: var(--clay); color: white !important; padding: .72rem 1rem; transition: background .16s var(--ease-out), transform .16s var(--ease-out); }
.header-call:hover { background: var(--clay-dark); transform: translateY(-1px); }
.header-call:active, .button:active { transform: scale(.97); }

.hero { min-height: min(790px, calc(100vh - 5rem)); position: relative; }
.hero-media { inset: 0; margin-left: max(0px, calc((100vw - 1280px)/2 + 31rem)); overflow: hidden; position: absolute; }
.hero-media::after { background: linear-gradient(90deg, var(--cacao) 0%, rgba(40,35,30,.92) 5%, rgba(40,35,30,.3) 34%, rgba(40,35,30,0) 58%); content: ""; inset: 0; position: absolute; }
.hero-media img { height: 100%; object-fit: cover; width: 100%; }
.hero-panel { align-items: flex-end; display: flex; min-height: min(790px, calc(100vh - 5rem)); position: relative; }
.hero-copy { background: var(--cacao); color: var(--paper); margin-left: -2.2rem; padding: clamp(4rem, 9vw, 7.4rem) clamp(2rem, 5vw, 5.5rem) 3.8rem; position: relative; width: min(45rem, 61%); }
.hero-copy::before, .hero-copy::after { content: ""; position: absolute; pointer-events: none; }
.hero-copy::before { border-left: 2px solid var(--clay); border-top: 2px solid var(--clay); height: 3.3rem; left: 1.15rem; top: 1.15rem; width: 3.3rem; }
.hero-copy::after { border-bottom: 2px solid var(--clay); border-right: 2px solid var(--clay); bottom: 1.15rem; height: 2.4rem; right: 1.15rem; width: 2.4rem; }
.hero h1 { font-family: var(--display); font-size: clamp(4rem, 7.2vw, 7.4rem); font-weight: 600; letter-spacing: -.065em; line-height: .78; margin: 0; max-width: 9.5ch; }
.hero h1 em { color: var(--clay); font-weight: 600; }
.hero-lede { color: #e9dfd0; font-size: 1.05rem; margin: 2rem 0 0; max-width: 35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 2.1rem 0 0; }
.button { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: .72rem; font-weight: 800; gap: .7rem; justify-content: center; letter-spacing: .09em; min-height: 3.25rem; padding: .85rem 1.05rem; text-decoration: none; text-transform: uppercase; transition: all .18s var(--ease-out); }
.button-primary { background: var(--clay); box-shadow: 5px 5px 0 rgba(181,78,53,.34); color: white; position: relative; }
.button-primary::before { border: 1px solid rgba(255,255,255,.65); content: ""; height: .55rem; width: .55rem; }
.button-primary::after { border-right: 1px solid white; border-top: 1px solid white; content: ""; height: .55rem; position: absolute; right: .34rem; top: .34rem; width: .55rem; }
.button-primary:hover { background: var(--clay-dark); transform: translateY(-2px); }
.button-secondary { border-color: var(--cacao); color: var(--cacao); }
.button-secondary:hover { background: var(--cacao); color: white; }
.trust-row { border-top: 1px solid rgba(255,255,255,.3); color: #ebe1d5; display: flex; flex-wrap: wrap; font-size: .65rem; font-weight: 800; gap: 1rem; letter-spacing: .085em; margin-top: 3.25rem; padding-top: 1.2rem; text-transform: uppercase; }
.hero-index { bottom: 2rem; color: var(--olive); font-size: .63rem; font-weight: 800; letter-spacing: .14em; position: absolute; right: 2.5rem; text-transform: uppercase; writing-mode: vertical-rl; }

.intro-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.intro-aside { border-left: 1px solid var(--line); padding: .4rem 0 .4rem 1.3rem; }
.intro-aside p { color: var(--olive-dark); font-family: var(--display); font-size: 1.55rem; font-style: italic; line-height: 1.1; margin: 0; max-width: 14ch; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }
.service-card { border-top: 1px solid var(--line); min-height: 13rem; padding: 1.35rem 1.35rem 1.6rem 0; position: relative; transition: background .22s var(--ease-out), padding .22s var(--ease-out); }
.service-card:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 1.35rem; }
.service-card:nth-child(even) { padding-left: 1.35rem; }
.service-card:hover { background: rgba(222, 208, 189, .28); padding-left: 1.5rem; }
.service-number { color: var(--clay); display: block; font-size: .65rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 2.4rem; }
.service-card h3 { font-family: var(--display); font-size: 1.65rem; font-weight: 650; letter-spacing: -.035em; line-height: 1; margin: 0; }
.service-card p { color: var(--muted); font-size: .86rem; line-height: 1.5; margin: .65rem 0 0; max-width: 19rem; }

.about { background: var(--olive-dark); color: var(--paper); position: relative; }
.about::before { background-image: linear-gradient(rgba(246,240,229,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(246,240,229,.11) 1px, transparent 1px); background-size: 25px 25px; content: ""; inset: 0 54% 0 0; position: absolute; }
.about-grid { align-items: center; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: .9fr 1.1fr; position: relative; }
.about .eyebrow { color: #d6d6c7; }
.about .section-title { color: var(--paper); }
.about .section-copy { color: #e7dfd1; }
.about-details { border-top: 1px solid rgba(255,255,255,.3); margin-top: 2.25rem; padding-top: 1.25rem; }
.about-details p { font-size: .9rem; margin: 0; }
.about-image { min-height: 31rem; overflow: hidden; position: relative; }
.about-image img { filter: saturate(.82); height: 100%; object-fit: cover; position: absolute; width: 100%; }
.about-caption { background: var(--clay); bottom: 0; color: white; font-size: .65rem; font-weight: 800; letter-spacing: .12em; margin: 0; padding: .8rem 1rem; position: absolute; right: 0; text-transform: uppercase; }

.gallery-header { align-items: end; display: flex; gap: 2rem; justify-content: space-between; }
.gallery-note { color: var(--muted); font-size: .75rem; max-width: 20rem; }
.gallery-grid { display: grid; gap: 1.3rem; grid-template-columns: 1.2fr .8fr .8fr; margin-top: 3rem; }
.gallery-card { background: var(--paper); border: 1px solid var(--line); min-width: 0; position: relative; }
.gallery-card::before, .gallery-card::after { content: ""; height: 1.75rem; position: absolute; width: 1.75rem; z-index: 2; pointer-events: none; }
.gallery-card::before { border-left: 2px solid var(--clay); border-top: 2px solid var(--clay); left: -.4rem; top: -.4rem; }
.gallery-card::after { border-bottom: 2px solid var(--clay); border-right: 2px solid var(--clay); bottom: -.4rem; right: -.4rem; }
.gallery-card:first-child { grid-row: span 2; }
.gallery-card:nth-child(2) { margin-top: 3rem; }
.gallery-card:nth-child(3) { margin-top: -2rem; }
.gallery-card:nth-child(4) { margin-top: 1rem; }
.gallery-image { overflow: hidden; }
.gallery-card:first-child .gallery-image { aspect-ratio: 4/5; }
.gallery-card:not(:first-child) .gallery-image { aspect-ratio: 1.1; }
.gallery-image img { height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); width: 100%; }
.gallery-card:hover .gallery-image img { transform: scale(1.04); }
.gallery-caption { display: flex; gap: 1rem; justify-content: space-between; padding: .9rem 1rem; }
.gallery-caption span { color: var(--olive); font-size: .61rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.gallery-caption strong { font-size: .7rem; font-weight: 800; text-align: right; }
.placeholder-pill { background: var(--ivory); border: 1px solid var(--line); color: var(--muted); display: inline-block; font-size: .6rem; font-weight: 800; letter-spacing: .08em; margin-top: 1.25rem; padding: .35rem .5rem; text-transform: uppercase; }

.testimonial-band { background: #e9dfcf; }
.testimonials-top { align-items: end; display: flex; justify-content: space-between; }
.review-notice { border-top: 1px solid var(--line); display: grid; gap: 2.5rem; grid-template-columns: .6fr 1.4fr; margin-top: 2.6rem; padding: 2rem 0 0; }
.review-mark { color: var(--clay); font-family: var(--display); font-size: 4rem; font-weight: 600; letter-spacing: -.08em; line-height: .65; }
.review-notice p { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.7rem); font-weight: 600; letter-spacing: -.04em; line-height: .98; margin: 0; max-width: 24ch; }
.review-notice small { color: var(--olive); display: block; font-size: .68rem; font-weight: 800; letter-spacing: .09em; margin-top: 1rem; text-transform: uppercase; }

.contact-grid { display: grid; gap: clamp(2rem, 6vw, 5rem); grid-template-columns: .78fr 1.22fr; }
.contact-summary { padding-top: .25rem; }
.contact-block { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.15rem; }
.contact-block h3 { color: var(--olive); font-size: .62rem; font-weight: 800; letter-spacing: .13em; margin: 0 0 .6rem; text-transform: uppercase; }
.contact-block p, .contact-block a { font-family: var(--display); font-size: 1.4rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.1; margin: 0; }
.contact-block address { font-style: normal; }
.contact-block .small-link { color: var(--muted); display: inline-block; font-family: var(--sans); font-size: .71rem; font-weight: 800; letter-spacing: .06em; margin-top: .9rem; text-transform: uppercase; }
.contact-form-wrap { background: var(--cacao); color: var(--paper); padding: clamp(1.6rem, 4vw, 3.5rem); }
.form-title { font-family: var(--display); font-size: clamp(2.5rem, 4vw, 3.8rem); font-weight: 600; letter-spacing: -.05em; line-height: .9; margin: 0; }
.form-subtitle { color: #d8cec0; font-size: .88rem; margin: 1rem 0 1.7rem; max-width: 34rem; }
.field-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .11em; margin-bottom: .45rem; text-transform: uppercase; }
.field input, .field textarea { background: transparent; border: 1px solid rgba(255,255,255,.42); border-radius: 0; color: white; min-height: 3.1rem; padding: .75rem .85rem; width: 100%; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #bdb2a2; }
.field input:focus, .field textarea:focus { border-color: #fff2df; outline: 2px solid rgba(255,255,255,.4); outline-offset: 2px; }
.form-submit { background: var(--clay); border: none; color: white; cursor: pointer; margin-top: .3rem; width: 100%; }
.form-submit:hover { background: #cc6147; }
#form-success { border: 1px solid rgba(255,255,255,.4); color: #fff4e6; display: none; font-family: var(--display); font-size: 2rem; line-height: 1; padding: 2rem; }
.map-wrap { border: 1px solid var(--line); height: 27rem; margin-top: 3rem; overflow: hidden; }
.map-wrap iframe { border: 0; height: 100%; width: 100%; }

.site-footer { background: var(--olive-dark); color: #e9e2d7; padding: 3rem 0 2rem; }
.footer-top { display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr .9fr; }
.footer-brand .brand { color: var(--paper); }
.footer-brand p { color: #d5cfc3; font-size: .82rem; margin: 1rem 0 0; max-width: 25rem; }
.footer-label { color: #cfcfbd; font-size: .62rem; font-weight: 800; letter-spacing: .13em; margin: .2rem 0 .9rem; text-transform: uppercase; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.22); color: #cfcfbd; display: flex; flex-wrap: wrap; font-size: .67rem; font-weight: 700; gap: .8rem 2rem; justify-content: space-between; letter-spacing: .06em; margin-top: 2.5rem; padding-top: 1.1rem; text-transform: uppercase; }

@media (max-width: 820px) {
  .site-nav a:not(.header-call) { display: none; }
  .hero-media { margin-left: 20%; opacity: .8; }
  .hero-media::after { background: linear-gradient(90deg, var(--cacao) 0%, rgba(40,35,30,.92) 24%, rgba(40,35,30,.18) 100%); }
  .hero-copy { width: 88%; }
  .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-aside { border-left: 0; border-top: 1px solid var(--line); padding: 1.2rem 0 0; }
  .about::before { inset: 0 0 46% 0; }
  .about-image { min-height: 24rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card:first-child { grid-row: auto; }
  .gallery-card:nth-child(2), .gallery-card:nth-child(3), .gallery-card:nth-child(4) { margin-top: 0; }
  .gallery-card:first-child { grid-column: span 2; }
  .gallery-card:first-child .gallery-image { aspect-ratio: 1.5; }
  .review-notice { grid-template-columns: 1fr; gap: 1rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 4.4rem; }
  .brand-mark { height: 2rem; width: 2rem; }
  .brand-name { font-size: 1.2rem; }
  .header-call { font-size: .58rem !important; padding: .65rem .7rem; }
  .inner { width: min(100% - 1.5rem, 1180px); }
  .hero { min-height: 45rem; }
  .hero-panel { min-height: 45rem; }
  .hero-copy { margin-left: -.75rem; padding: 5rem 2rem 3.5rem; width: 100%; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.2rem); }
  .hero-lede { font-size: .95rem; max-width: 29rem; }
  .hero-index { display: none; }
  .trust-row { font-size: .57rem; gap: .55rem; }
  .service-list, .field-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(odd), .service-card:nth-child(even) { border-right: 0; padding-left: 0; padding-right: 0; }
  .service-card:hover { padding-left: .8rem; }
  .service-number { margin-bottom: 1.25rem; }
  .gallery-header, .testimonials-top { align-items: start; display: block; }
  .gallery-note { margin: 1.25rem 0 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card:first-child { grid-column: auto; }
  .gallery-card:first-child .gallery-image { aspect-ratio: 1.15; }
  .gallery-card:not(:first-child) .gallery-image { aspect-ratio: 1.15; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .map-wrap { height: 20rem; }
}

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