@import url("/fonts/fonts.css");

:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --tile: #dbdbdb;
  --ink: #1e1e1e;
  --ink-soft: #565656;
  --line: #8f8f8f;
  --accent: #b46a2c;
  --dark: #1e1e1e;
  --on-dark: #f5f5f5;
  --brand-red: #e3262b;
  --maxw: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 { font-weight: 600; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--on-dark); padding: .6em 1em; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.site-header { background: var(--bg); position: relative; z-index: 10; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 96px;
}
.logo img { width: 110px; height: auto; }
.wordmark {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  color: #555;
  letter-spacing: .01em;
  text-shadow: 2px 3px 4px rgba(0, 0, 0, .35);
  text-decoration: none;
  white-space: nowrap;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav a {
  text-decoration: none; font-size: .85rem; font-weight: 300; color: var(--ink);
  padding: 6px 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .wordmark { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav a { display: block; padding: 12px 0; font-size: 1rem; border-bottom: 1px solid #eee; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .65em 1.6em;
  font: inherit; font-size: .85rem; font-weight: 300;
  text-decoration: none; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--accent); color: #fff; }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-dark:hover { background: var(--accent); }

/* ---------- home ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: clamp(420px, 70vh, 680px);
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .05));
}
.hero .hero-text { position: relative; z-index: 1; padding: 40px clamp(20px, 5vw, 60px); }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.35; margin-bottom: 1.2em; }

.split {
  max-width: var(--maxw); margin: 56px auto 0;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.split img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.split .split-text { padding: 40px clamp(20px, 4vw, 48px); }
.split h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 1.4em; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; margin-top: 32px; }
  .split img { min-height: 260px; }
}

/* ---------- contact block ---------- */
.contact-band { background: var(--dark); color: var(--on-dark); padding: 64px 0; }
.contact-page { padding: 48px 0 72px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info .lead { font-size: .9rem; margin-bottom: 1.8em; }
.contact-info address { font-style: normal; font-size: .85rem; line-height: 1.5; margin-bottom: 1.4em; }
.contact-info address strong { font-weight: 400; display: block; }
.contact-info .contact-lines { font-size: .85rem; }
.contact-info .contact-lines a { display: inline-block; margin-bottom: .6em; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social img { width: 22px; height: 22px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 480px) { .form { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .8rem; margin-bottom: 2px; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: inherit;
  background: transparent; border: 0; border-bottom: 1px solid currentColor;
  padding: 6px 0; border-radius: 0;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; padding: .8em; }
.form-status { font-size: .9rem; min-height: 1.5em; margin: 4px 0 0; }
.form-status.ok { color: #5fae6b; }
.form-status.err { color: #e46b5f; }
.contact-page .form-status.ok { color: #2f7d3b; }
.contact-page .form-status.err { color: #b3261e; }
.cf-turnstile { min-height: 65px; }

/* ---------- inner pages ---------- */
.page-head { text-align: center; padding: 40px 0 32px; }
.page-head p { max-width: 640px; margin: 0 auto; font-size: .9rem; color: var(--ink-soft); }

.banner img { width: 100%; height: clamp(240px, 42vw, 520px); object-fit: cover; }

.prose-center { text-align: center; max-width: 760px; margin: 0 auto; padding: 64px 0; }
.prose-center p, .prose p { font-size: .9rem; color: var(--ink-soft); }
.prose { max-width: 820px; margin: 0 auto; padding: 16px 0 64px; }
.prose h2 { text-align: center; }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.method-grid img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.method-grid .tile {
  background: var(--tile); display: flex; flex-direction: column; justify-content: center;
  text-align: center; padding: 32px clamp(16px, 3vw, 36px);
}
.method-grid .tile p { font-size: .8rem; color: #333; margin: 0; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-grid img { min-height: 220px; }
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 24px; padding-bottom: 64px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { text-align: center; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 28px; transition: opacity .2s; }
.card:hover img { opacity: .85; }
.card h3 { margin-bottom: .8em; }
.card p { font-size: .82rem; color: var(--ink-soft); max-width: 280px; margin: 0 auto; }

.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  padding-bottom: 32px;
}
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }
.gallery a, .gallery .gitem { display: block; aspect-ratio: 1; overflow: hidden; background: var(--tile); }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: fixed; top: 12px; right: 16px; background: none; border: 0; color: #fff;
  font-size: 2.2rem; line-height: 1; cursor: pointer;
}

/* ---------- CTA + footer ---------- */
.cta { background: var(--dark); color: var(--on-dark); text-align: center; padding: 64px 0; }
.cta h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin-bottom: 1.6em; }

.site-footer { padding: 32px 0; font-size: .8rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

.legal h1 { text-align: center; }
.legal .prose p { color: var(--ink); }
.prose-top { padding-top: 64px; }
.not-found { padding: 96px 0; }
.not-found-cta { margin-top: 24px; }

/* grid children must be allowed to shrink below their inputs' intrinsic width */
.contact-grid > *, .form > *, .split > *, .cards > *, .gallery > * { min-width: 0; }
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- warm background ---------- */
.site-header { background: transparent; }
body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(180, 106, 44, .16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(236, 205, 178, .55), transparent 60%),
    #f7f3ee;
  background-attachment: fixed;
}
.method-grid .tile { background: #efe5da; }
.cta,
.contact-band { background: linear-gradient(135deg, #1e1e1e 0%, #2b2119 100%); }
