/* Root */
:root {
  --bg: #FFF8F4;
  --surface: #FFFFFF;
  --text: #2B1D14;
  --muted: #6B5545;
  --accent: #B53A0B;
  --accent-text: #FFF8F4;
  --plate-bg: #2B1D14;
  --plate-text: #FFE8D6;
  --line: #EADDD3;
  --font-head: Optima, Candara, 'Segoe UI', 'Noto Sans', sans-serif;
  --font-body: Georgia, Cambria, 'Times New Roman', serif;
  --radius-card: 6px;
  --radius-btn: 2px;
  --shadow-soft: 0 1px 2px rgb(43 29 20 / .06), 0 12px 32px rgb(43 29 20 / .08);
  --pad-x: clamp(16px, 4vw, 40px);
  --gap-y: clamp(64px, 9vw, 128px);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  position: relative;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 12% 8%, rgb(181 58 11 / .20), transparent 70%),
    radial-gradient(42% 34% at 88% 28%, rgb(181 58 11 / .16), transparent 70%),
    radial-gradient(48% 40% at 72% 86%, rgb(181 58 11 / .13), transparent 72%),
    radial-gradient(36% 30% at 8% 78%, rgb(107 85 69 / .12), transparent 70%);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.2rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); }
h3 { font-size: 1.3rem; font-weight: 650; }
p { margin: 0 0 16px; max-width: 68ch; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* Layout */
.l-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.l-block {
  padding-block: var(--gap-y);
}
.l-block + .l-block { padding-top: 0; }
.l-block:nth-of-type(even) { }
section.l-block { position: relative; }
#hero-entry.has-tint { background: linear-gradient(180deg, rgb(181 58 11 / .06), transparent); }
.l-text { max-width: 68ch; }
.l-text p, .l-text li { max-width: 68ch; }

/* Header */
.c-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.l-topbar-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}
.l-topbar-rule { height: 4px; background: var(--accent); }
.c-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.c-logo-foot { font-size: 1.3rem; margin: 0 0 12px; }

/* Menu */
.c-menu { min-width: 0; }
.l-menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.l-menu-item a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  padding: 10px 2px;
  position: relative;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 2px;
  transition: background-size .25s ease;
}
.l-menu-item a:hover { background-size: 100% 2px; }
.l-menu-item a[aria-current="page"] { color: var(--accent); }
.l-menu-item a[aria-current="page"]::before {
  content: "";
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 auto 4px;
  animation: dot-pulse 1.6s ease-in-out infinite;
}
@keyframes dot-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .6; } }
.l-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 12px;
  background: none;
  border: 2px solid var(--accent);
  border-radius: var(--radius-btn);
  color: var(--accent);
  font: 600 16px var(--font-head);
  cursor: pointer;
}
.u-menu-lines, .u-menu-lines::before, .u-menu-lines::after {
  width: 20px; height: 2px;
  background: var(--accent);
  content: "";
  display: block;
  transition: transform .25s ease;
}
.u-menu-lines { position: relative; }
.u-menu-lines::before, .u-menu-lines::after { position: absolute; left: 0; }
.u-menu-lines::before { top: -6px; }
.u-menu-lines::after { top: 6px; }
.has-open .u-menu-lines { background: transparent; }
.has-open .u-menu-lines::before { transform: translateY(6px) rotate(45deg); }
.has-open .u-menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.l-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px 48px;
  align-items: start;
}
.l-hero-copy { max-width: 560px; }
.l-hero-copy h1 { margin-bottom: 20px; font-size: clamp(40px, 4vw, 64px); line-height: 1.15; }
.l-hero-note {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 650;
  margin-bottom: 8px;
}
.l-hero-note-text { color: var(--muted); }
.l-hero-side {
  width: min(460px, 100%);
  justify-self: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px clamp(18px, 2.5vw, 28px);
  box-shadow: var(--shadow-soft);
}
.l-hero-wide { margin-top: 32px; }
.l-hero-wide img, .c-fade img { border-radius: var(--radius-card); }

/* Accent mark */
.u-mark {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), #D4551D 55%, var(--accent));
  background-size: 200% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  transition: background-position .6s ease;
}
.u-mark:hover { background-position: 100% 0; }

/* Buttons */
.c-btn {
  display: inline-block;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-btn);
  background: linear-gradient(90deg, var(--accent), #C6410D);
  background-size: 200% 100%;
  color: var(--accent-text);
  font: 600 16px/1.2 var(--font-head);
  text-decoration: none;
  cursor: pointer;
  transition: background-position .3s ease, background-color .15s ease, transform .15s ease;
}
.c-btn:hover { background-position: 100% 0; border-color: var(--accent); }
.c-btn:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.c-btn:active { background-color: #8E2C08; background-image: none; transform: translateY(1px); }
.l-btn-ghost {
  background: transparent;
  color: var(--accent);
}
.l-btn-ghost:hover { background: var(--accent); color: var(--accent-text); }
.l-btn-ghost:active { background-color: #8E2C08; }

/* Cards & steps */
.c-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.c-tile:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(43 29 20 / .06), 0 18px 40px rgb(43 29 20 / .12); }
.l-steps {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  display: grid;
  gap: 24px;
  max-width: 720px;
  counter-reset: step;
}
.l-steps .c-tile { position: relative; padding-top: 56px; counter-increment: step; }
.l-steps .c-tile::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px; left: 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
}
.l-steps .c-tile h3 { margin-bottom: 8px; }

/* Zigzag & services */
.l-zigzag {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 32px 48px;
  align-items: center;
  margin-top: 32px;
}
.l-zigzag + .l-zigzag { margin-top: 48px; }
.l-zigzag:nth-child(even) .l-zigzag-media { order: 2; }
.l-zigzag-media {
  border: 10px solid var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.l-zigzag-media img { transition: transform .5s ease; }
.l-zigzag-media:hover img { transform: scale(1.05); }
.l-services {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 520px;
}
.l-services li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.l-services li:first-child { padding-top: 0; }
.l-services li:last-child { padding-bottom: 0; border-bottom: 0; }
.l-services h3 { margin-bottom: 8px; }
.l-services p { color: var(--muted); margin-bottom: 8px; }

/* Prices */
.l-pricelist {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.l-pricelist li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.l-price { font-family: var(--font-head); font-weight: 650; color: var(--muted); text-align: right; }

/* FAQ accordion */
.c-accordion { margin-top: 32px; max-width: 760px; }
.c-accordion details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0 24px;
  margin-bottom: 12px;
}
.c-accordion summary {
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.c-accordion summary::-webkit-details-marker { display: none; }
.c-accordion summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font: 650 1.4rem/1 var(--font-head);
  color: var(--accent);
  transition: transform .25s ease;
}
.c-accordion details[open] summary::after { content: "−"; transform: translateY(-50%) rotate(180deg); }
.c-accordion details[open] summary { color: var(--accent); }
.c-accordion details > p { padding-bottom: 20px; color: var(--muted); margin: 0; }

/* Plate */
.c-slab {
  background: var(--plate-bg);
  color: var(--plate-text);
  border-radius: var(--radius-card);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
}
.c-slab h2 { color: var(--plate-text); }
.c-slab p { color: var(--plate-text); opacity: .92; }
.c-slab a { color: #FFC9A6; }

/* Gallery frames (inner pages) */
.l-zigzag-media img, .l-hero-wide img { object-fit: cover; width: 100%; }

/* Form */
.c-inquiry { display: grid; gap: 14px; }
.l-inquiry-row { display: grid; gap: 6px; }
.l-inquiry-tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.l-inquiry-box {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--text);
  font: 400 1rem var(--font-body);
}
.l-inquiry-box::placeholder { color: #7A6450; opacity: 1; }
.l-inquiry-box:focus { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.l-inquiry-area { resize: vertical; min-height: 120px; }
.is-invalid { border-color: #9C2A08; background: #FDEEE7; }
.is-invalid:focus { outline-color: #9C2A08; }
.l-inquiry-agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.l-inquiry-agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.l-inquiry-hint { font-size: 14px; color: var(--muted); margin: 0; }
.c-inquiry .l-inquiry-send { justify-self: start; }
.is-busy { opacity: .65; pointer-events: none; }

/* Contact block (inner pages) */
.c-slab address {
  font-style: normal;
  line-height: 1.7;
  color: var(--plate-text);
}
.c-slab address p { margin: 0; }

/* Prose (policies) */
.l-text-policy { max-width: 760px; }
.l-text h2 { margin-top: 40px; }
.l-text ol, .l-text ul { padding-left: 24px; max-width: 68ch; }
.l-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}
.l-text th, .l-text td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.l-text th { font-family: var(--font-head); font-weight: 650; }

/* Footer */
.c-bottom {
  background: var(--plate-bg);
  color: var(--plate-text);
  margin-top: var(--gap-y);
  padding-top: clamp(40px, 6vw, 72px);
}
.c-bottom p, .c-bottom li { color: var(--plate-text); }
.l-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}
.l-bottom-col .l-text { font-size: 15px; opacity: .92; }
.l-bottom-head {
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 1rem;
  color: var(--plate-text);
  margin-bottom: 12px;
}
.l-bottom-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.l-bottom-links a, .c-bottom a { color: #FFC9A6; }
.l-bottom-col ul li span {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  color: #D9BFA9;
}
.l-bottom-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.l-bottom-line {
  border-top: 1px solid rgb(255 232 214 / .2);
  padding-block: 20px;
  font-size: 14px;
  color: #D9BFA9;
}
.l-bottom-line p { margin: 0; }

/* Skip link */
.u-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 18px;
  z-index: 100;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
}
.u-skip:focus { left: 12px; top: 12px; }

/* Reveal */
html.has-js .c-fade { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.has-js .c-fade.is-shown { opacity: 1; transform: none; }

/* Thanks / 404 */
.l-lost { text-align: center; padding-block: calc(var(--gap-y) + 24px); }
.l-lost h1 { font-size: clamp(3rem, 8vw, 6rem); }

/* Breakpoints */
@media (max-width: 1279px) {
  .l-hero { gap: 28px 32px; }
}
@media (max-width: 1023px) {
  .l-hero { grid-template-columns: 1fr; }
  .l-zigzag { grid-template-columns: 1fr; }
  .l-zigzag-media { max-width: 640px; order: 0 !important; }
  .l-steps { grid-template-columns: 1fr 1fr; }
  .l-bottom-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .l-menu-toggle { display: inline-flex; }
  .l-menu-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-bottom: 16px;
  }
  .has-open .l-menu-list,
  .l-menu-list.has-open,
  .l-menu-toggle.has-open + .l-menu-list,
  .l-menu-toggle[aria-expanded="true"] + .l-menu-list { display: flex; }
  .l-menu-item a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .l-topbar-grid { grid-template-columns: 1fr auto; }
  .c-menu { order: 2; }
  .c-logo { order: 1; }
  .l-topbar-grid { grid-template-columns: auto 1fr; }
  .l-steps { grid-template-columns: 1fr; }
  .l-pricelist li { flex-direction: column; gap: 4px; }
  .l-price { text-align: left; }
}
@media (max-width: 639px) {
  .l-bottom-grid { grid-template-columns: 1fr; gap: 24px; }
  .l-hero-side { padding: 22px 18px; }
}
@media (max-width: 479px) {
  .c-logo { font-size: 1.2rem; }
  .u-menu-word { display: none; }
  .c-tile { padding: 22px 18px; }
  .l-steps .c-tile { padding-top: 48px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.has-js .c-fade { opacity: 1; transform: none; }
}

/* Art fixes */
.l-zigzag-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.l-steps .c-tile p { max-width: 60ch; }
.l-services li > a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  padding-bottom: 2px;
}
@media (max-width: 767px) {
  h2 { font-size: clamp(26px, 7vw, 32px); line-height: 1.2; }
  .l-hero-copy .c-btn {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 8px auto 0;
    padding: 14px 28px;
    text-align: center;
  }
  .l-hero-side { margin-top: 40px; justify-self: center; }
  #hero-entry { padding-bottom: 56px; }
  .l-hero-wide img { aspect-ratio: 4 / 3; object-fit: cover; }
}
@media (min-width: 1024px) {
  .l-hero { align-items: center; }
}
