:root {
  --bg: #f6f0e4;
  --surface: #fffaf1;
  --text: #2d2118;
  --muted: #6b5647;
  --red: #8d2f24;
  --red-dark: #6f2118;
  --line: rgba(45, 33, 24, 0.12);
  --shadow: 0 18px 45px rgba(32, 21, 13, 0.12);
  --radius: 22px;
  --content: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(202,166,90,0.20), transparent 32%),
    linear-gradient(180deg, #f8f2e8 0%, #f6f0e4 100%);
  line-height: 1.6;
}
body.lightbox-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 2rem), var(--content)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px);
  background: rgba(248, 242, 232, 0.86); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; flex-direction: column; gap: 0.1rem; }
.brand strong { font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand span, .muted, .section-head p, .work-copy p, .step p, .hero-note { color: var(--muted); }
.nav-links { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; font-size: 0.98rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--red); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid transparent;
  font-size: 1rem; cursor: pointer; transition: 0.25s ease;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--red-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: rgba(141,47,36,0.3); color: var(--red); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: rgba(141,47,36,0.06); }
.btn-light { border-color: rgba(255,255,255,0.3); color: #fff7eb; }
.btn-light:hover, .btn-light:focus-visible { background: rgba(255,255,255,0.08); }
.hero { padding: 4.5rem 0 3rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; }
.eyebrow {
  display: inline-block; padding: 0.38rem 0.75rem; border-radius: 999px;
  background: rgba(202,166,90,0.16); color: var(--red); font-size: 0.9rem; margin-bottom: 1rem;
}
.eyebrow-light { background: rgba(255,255,255,0.12); color: #fff7eb; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 1rem; font-weight: 600; }
h1 { font-size: clamp(2.7rem, 5vw, 5.1rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 60ch; margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-visual { position: relative; min-height: 650px; }
.hero-card, .hero-detail {
  position: absolute; overflow: hidden; border-radius: 28px; background: var(--surface);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.65);
}
.hero-card img, .hero-detail img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.main { inset: 2.5rem 1.4rem 4rem 5rem; }
.hero-card.small { width: 210px; height: 280px; left: 0; bottom: 0; }
.hero-detail { width: 210px; right: 0; top: 0; padding: 1rem; background: rgba(255,250,241,0.95); }
.hero-detail strong { display: block; margin-bottom: 0.4rem; font-size: 1rem; }
.hero-detail p { margin: 0; font-size: 0.93rem; color: var(--muted); }
section { padding: 3.5rem 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.section-head p { margin: 0; max-width: 65ch; }
.about { display: grid; grid-template-columns: 1fr 0.9fr; gap: 2rem; align-items: stretch; }
.panel {
  background: rgba(255,250,241,0.72); border: 1px solid rgba(45,33,24,0.08);
  border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow);
}
.feature-image { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 1rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.4rem; }
.fact { background: rgba(202,166,90,0.1); border-radius: 18px; padding: 1rem; min-height: 120px; }
.fact strong { display: block; font-size: 1.2rem; color: var(--red); margin-bottom: 0.3rem; }
.icon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.work-card {
  background: var(--surface); border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(45,33,24,0.08);
}
.gallery-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.gallery-card:hover { transform: translateY(-4px); }
.gallery-trigger { width: 100%; border: 0; padding: 0; background: transparent; position: relative; cursor: zoom-in; }
.gallery-trigger img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.zoom-badge {
  position: absolute; right: 0.9rem; bottom: 0.9rem; padding: 0.4rem 0.7rem; border-radius: 999px;
  background: rgba(45, 33, 24, 0.72); color: #fff; font-size: 0.88rem; opacity: 0;
  transform: translateY(4px); transition: 0.25s ease;
}
.gallery-trigger:hover .zoom-badge, .gallery-trigger:focus-visible .zoom-badge { opacity: 1; transform: translateY(0); }
.work-copy { padding: 1rem 1rem 1.2rem; }
.work-copy h3 { margin-bottom: 0.45rem; }
.work-copy p { margin: 0; font-size: 0.96rem; }
.icon-meaning { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: center; }
.icon-meaning img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.step {
  background: linear-gradient(180deg, rgba(255,250,241,0.95), rgba(239,228,207,0.9));
  border-radius: 22px; padding: 1.2rem; border: 1px solid rgba(45,33,24,0.08); box-shadow: var(--shadow);
}
.step-number {
  width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 700; margin-bottom: 0.9rem;
}
.cta {
  background: linear-gradient(135deg, rgba(141,47,36,0.97), rgba(111,33,24,0.97));
  color: #fff7eb; border-radius: 30px; padding: 2rem; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: center;
}
.cta p { color: rgba(255,247,235,0.85); max-width: 55ch; }
.contact-list { display: grid; gap: 0.8rem; color: rgba(255,247,235,0.92); }
.contact-item {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px; padding: 0.95rem 1rem;
}
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1.2rem;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(18, 12, 8, 0.78); backdrop-filter: blur(8px); }
.lightbox-dialog {
  position: relative; z-index: 1; width: min(1100px, 100%);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem;
}
.lightbox-figure {
  margin: 0; background: rgba(255, 250, 241, 0.98); border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.lightbox-figure img { width: 100%; max-height: 76vh; object-fit: contain; background: #20150d; }
.lightbox-caption { padding: 1rem 1.2rem 1.2rem; }
.lightbox-caption h3 { margin-bottom: 0.4rem; }
.lightbox-caption p { margin: 0; color: var(--muted); }
.lightbox-close, .lightbox-nav {
  border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px); transition: 0.25s ease;
}
.lightbox-close:hover, .lightbox-close:focus-visible, .lightbox-nav:hover, .lightbox-nav:focus-visible { background: rgba(255,255,255,0.24); }
.lightbox-close { position: absolute; top: -0.5rem; right: 0.2rem; z-index: 2; width: 48px; height: 48px; border-radius: 50%; font-size: 1.9rem; line-height: 1; }
.lightbox-nav { width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; }
footer { padding: 2.4rem 0 3rem; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .hero-grid, .about, .icon-meaning, .cta, .section-head { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { min-height: 560px; }
  .lightbox-dialog { grid-template-columns: 1fr; }
  .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
}
@media (max-width: 720px) {
  .nav { padding: 0.9rem 0; align-items: flex-start; flex-direction: column; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .hero { padding-top: 2.5rem; }
  .hero-visual { min-height: auto; display: grid; gap: 1rem; }
  .hero-card, .hero-detail { position: relative; inset: auto; width: 100%; height: auto; }
  .hero-card img { aspect-ratio: 4 / 5; }
  .facts, .icon-grid, .process-steps { grid-template-columns: 1fr; }
  h1 { max-width: 100%; }
  .lightbox { padding: 0.6rem; }
  .lightbox-figure img { max-height: 62vh; }
  .lightbox-close { top: 0.3rem; right: 0.3rem; }
}
