:root {
  --ink: #171512;
  --muted: #625e56;
  --paper: #f7f3ea;
  --paper-deep: #e9dfcf;
  --sand: #c49b68;
  --copper: #a9512d;
  --copper-dark: #71331f;
  --line: rgba(23, 21, 18, 0.16);
  --white: #fffdf9;
  --shadow: 0 24px 70px rgba(41, 32, 22, 0.15);
  --radius: 1.5rem;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(196, 155, 104, 0.18), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.77rem;
}

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a { font-size: 0.94rem; font-weight: 750; text-decoration: none; }
.nav-links a:not(.button):hover, .nav-links a[aria-current="page"] { color: var(--copper); }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--copper);
  color: white;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.button:hover { background: var(--copper-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(113, 51, 31, 0.24); }
.button:focus-visible, .nav-links a:focus-visible, .footer-links a:focus-visible { outline: 3px solid var(--sand); outline-offset: 4px; }
.button.secondary { border-color: var(--ink); background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--ink); color: white; }

.hero { padding: clamp(3.5rem, 9vw, 8rem) 0 clamp(4.5rem, 9vw, 8rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.2rem;
  color: var(--copper-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow::before { width: 2.7rem; height: 2px; background: var(--copper); content: ""; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.06; }
h1 { max-width: 12ch; font-size: clamp(3.3rem, 7.5vw, 7.25rem); letter-spacing: -0.055em; }
h2 { max-width: 16ch; font-size: clamp(2.35rem, 4.8vw, 4.65rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.hero-copy > p:not(.eyebrow) { max-width: 60ch; margin: 1.65rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; margin-top: 1.6rem; color: var(--muted); font-size: 0.9rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-note span::before { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--copper); content: ""; }

.hero-visual { position: relative; }
.hero-visual::before {
  position: absolute;
  inset: -8% -12% 14% 20%;
  z-index: -1;
  border-radius: 48% 52% 45% 55%;
  background: var(--sand);
  content: "";
  transform: rotate(-7deg);
}
.hero-logo {
  width: 100%;
  aspect-ratio: 1.414;
  border-radius: 45% 1rem 45% 1rem;
  box-shadow: var(--shadow);
  object-fit: cover;
}
.hero-stamp {
  position: absolute;
  right: -1.5rem;
  bottom: -2rem;
  display: grid;
  width: 8rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
}

.band { border-block: 1px solid var(--line); background: var(--ink); color: white; }
.band-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-item { padding: 1.4rem 1.25rem; border-right: 1px solid rgba(255,255,255,0.18); text-align: center; }
.band-item:last-child { border-right: 0; }
.band-item strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; }
.band-item span { color: rgba(255,255,255,0.7); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section.tint { background: var(--paper-deep); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section-head p { max-width: 48ch; margin: 0; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.service-card {
  position: relative;
  min-height: 32rem;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  isolation: isolate;
}
.service-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 650ms cubic-bezier(.2,.7,.2,1); }
.service-card::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 25%, rgba(13,11,9,0.9)); content: ""; }
.service-card:hover img { transform: scale(1.045); }
.service-card-content { padding: clamp(1.5rem, 4vw, 3rem); }
.service-card .number { display: block; margin-bottom: 0.7rem; color: #f2c892; font-size: 0.8rem; font-weight: 900; letter-spacing: 0.15em; }
.service-card p { max-width: 50ch; margin: 0.8rem 0 0; color: rgba(255,255,255,0.78); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 0.38rem 0.72rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; font-size: 0.78rem; }

.promise-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.promise-intro { position: sticky; top: 8rem; }
.promise-intro p { max-width: 48ch; color: var(--muted); }
.promise-list { border-top: 1px solid var(--line); }
.promise { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.promise-index { color: var(--copper); font-family: Georgia, serif; font-size: 1.5rem; font-style: italic; }
.promise p { margin: 0.7rem 0 0; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 10rem; gap: 0.8rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 1rem; background: var(--paper-deep); }
.gallery figure:nth-child(1), .gallery figure:nth-child(6) { grid-column: span 7; grid-row: span 3; }
.gallery figure:nth-child(2), .gallery figure:nth-child(5) { grid-column: span 5; grid-row: span 2; }
.gallery figure:nth-child(3), .gallery figure:nth-child(4), .gallery figure:nth-child(7), .gallery figure:nth-child(8) { grid-column: span 5; grid-row: span 2; }
.gallery figure:nth-child(4), .gallery figure:nth-child(7), .gallery figure:nth-child(8) { grid-column: span 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.gallery figure:hover img { transform: scale(1.035); }

.contact-layout { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr); gap: 1.2rem; }
.contact-panel, .map-panel { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-panel { padding: clamp(2rem, 5vw, 4rem); background: var(--ink); color: white; }
.contact-panel h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.contact-panel > p { color: rgba(255,255,255,0.7); }
.contact-list { display: grid; gap: 1.4rem; margin: 2.2rem 0; }
.contact-row { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.85rem; align-items: start; }
.contact-icon { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.1); color: #f2c892; }
.contact-row small { display: block; color: rgba(255,255,255,0.55); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-row a, .contact-row address { display: inline-block; margin-top: 0.2rem; color: white; font-style: normal; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-panel .button { background: var(--sand); color: var(--ink); }
.map-panel { min-height: 36rem; background: #ddd4c6; }
.map-panel iframe { width: 100%; height: 100%; min-height: 36rem; display: block; border: 0; }

.page-hero { padding: clamp(4.5rem, 10vw, 9rem) 0 4rem; }
.page-hero h1 { max-width: 13ch; }
.page-hero p { max-width: 64ch; margin: 1.4rem 0 0; color: var(--muted); font-size: 1.15rem; }
.content-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); }
.content-grid h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.prose { font-size: 1.05rem; }
.prose p { margin: 0 0 1.35rem; color: var(--muted); }
.prose strong { color: var(--ink); }
.legal-list { padding-left: 1.2rem; color: var(--muted); }

.cta { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem); border-radius: var(--radius); background: var(--copper); color: white; }
.cta::after { position: absolute; right: -7rem; bottom: -10rem; width: 24rem; aspect-ratio: 1; border: 5rem solid rgba(255,255,255,0.09); border-radius: 50%; content: ""; }
.cta h2 { max-width: 17ch; }
.cta p { max-width: 52ch; color: rgba(255,255,255,0.8); }
.cta .button { position: relative; z-index: 1; background: white; color: var(--ink); }

.site-footer { padding: 3rem 0 2rem; background: var(--ink); color: white; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-copy { max-width: 42ch; color: rgba(255,255,255,0.6); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 2rem; align-content: start; }
.footer-links a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; color: rgba(255,255,255,0.5); font-size: 0.82rem; }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { max-width: none; color: var(--copper); font-size: clamp(6rem, 20vw, 13rem); }
.not-found h2 { margin-top: -1rem; }
.not-found p { max-width: 48ch; margin: 1rem auto 1.8rem; color: var(--muted); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; width: 3rem; height: 3rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font: inherit; font-size: 1.2rem; cursor: pointer; }
  .nav-links { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; padding: 1.2rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--paper); flex-direction: column; align-items: stretch; }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { padding: 0.55rem 0; }
  .hero-grid, .promise-grid, .contact-layout, .content-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 4rem; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-copy > p { margin-inline: auto !important; }
  .hero-copy .eyebrow, .hero-actions, .hero-note { justify-content: center; }
  .hero-visual { width: min(100%, 36rem); margin-inline: auto; }
  .promise-intro { position: static; }
  .band-inner { grid-template-columns: 1fr 1fr; }
  .band-item:nth-child(2) { border-right: 0; }
  .band-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.18); }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 1.5rem), var(--max)); }
  .hero { padding-top: 3rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-stamp { right: -0.2rem; bottom: -2.2rem; width: 6.5rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 26rem; }
  .section-head, .footer-top, .footer-bottom { align-items: start; flex-direction: column; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 11rem; }
  .gallery figure, .gallery figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery figure:first-child, .gallery figure:nth-child(6) { grid-column: span 2; grid-row: span 2; }
  .map-panel, .map-panel iframe { min-height: 28rem; }
  .cta { padding: 2.2rem 1.5rem; }
  .footer-links { grid-template-columns: 1fr; }
}

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