:root {
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #211f1c;
  --muted: #6f6960;
  --line: #ded9cf;
  --bronze: #a45f35;
  --deep: #0b3d3c;
  --gem: #14746f;
  --violet: #78547b;
  --gold: #b38a37;
  --soft-green: #e8eee6;
  --soft-rose: #f4e9e5;
  --shadow: 0 18px 45px rgba(30, 27, 23, .12);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 12px;
  z-index: 5;
}
.skip-link:focus { left: 10px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(251, 250, 247, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(33, 31, 28, .11);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 20px;
  align-items: center;
}
.brand img { width: 168px; height: auto; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--ink);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
}
.primary-nav,
.more-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.primary-nav a,
.more-menu a,
.more-menu summary {
  text-decoration: none;
  color: #2d2924;
  white-space: nowrap;
}
.primary-nav a:hover,
.more-menu a:hover { color: var(--bronze); }
.more-menu { position: relative; }
.more-menu summary {
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: var(--white);
}
.more-menu summary::-webkit-details-marker { display: none; }
.more-panel {
  position: absolute;
  right: 0;
  top: 42px;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 12px;
  display: grid;
  gap: 8px;
}
.section {
  padding: 74px 22px;
}
.section.tight { padding-top: 42px; padding-bottom: 42px; }
.section.white { background: var(--white); }
.section.green { background: var(--soft-green); }
.section.rose { background: var(--soft-rose); }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
}
.hero {
  min-height: min(68vh, 560px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 56px;
  align-items: center;
}
.hero.compact { min-height: 48vh; }
.hero h1,
.page-title,
.section-title,
.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.02;
  margin: 0;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 98px);
}
.page-title { font-size: clamp(40px, 6vw, 76px); }
.section-title { font-size: clamp(32px, 4vw, 52px); }
.lead {
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.38;
  color: #38332d;
}
.prose {
  max-width: 760px;
  color: var(--muted);
}
.hero-media {
  position: relative;
  min-height: 460px;
}
.portrait {
  width: min(100%, 360px);
  margin-left: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--white);
}
.artifact {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 56%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--ink);
  color: var(--white);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
}
.button:hover {
  transform: translateY(-1px);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: center;
}
.split.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}
.cards,
.product-grid,
.service-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card,
.product-card,
.service-card,
.note-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-body { padding: 20px; }
.card h3,
.product-card h3,
.service-card h3,
.note-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.15;
}
.card p,
.product-card p,
.service-card p,
.note-card p { color: var(--muted); }
.card img,
.product-card img,
.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eee;
}
.product-card .price,
.price {
  color: var(--bronze);
  font-weight: 700;
  margin: 8px 0;
}
.status {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--deep);
  border: 1px solid rgba(20, 116, 111, .32);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(20, 116, 111, .08);
}
.gem-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.gem-strip a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
}
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 16px 0;
  animation: drift 45s linear infinite;
}
.marquee img {
  width: 132px;
  height: 104px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.gallery-section {
  margin-top: 42px;
}
.gallery-section .section-title {
  margin-bottom: 18px;
}
.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: #eee;
}
.gallery-grid.architectural img { aspect-ratio: 4 / 3; }
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.category-links a {
  border: 1px solid var(--line);
  text-decoration: none;
  padding: 8px 11px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.contact-form {
  display: grid;
  gap: 12px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 12px;
  font: inherit;
  color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}
.product-detail img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}
.amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.amount {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}
.legacy-box {
  border: 1px dashed rgba(164, 95, 53, .5);
  background: #fffaf4;
  padding: 20px;
  border-radius: var(--radius);
}
.site-footer {
  background: #171513;
  color: #f8f3ec;
  padding: 44px 22px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a { color: #f8f3ec; text-decoration: none; }
.small { font-size: 13px; color: var(--muted); }
.site-footer .small { color: #cabfb1; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 150px auto; }
  .nav-toggle { display: block; justify-self: end; }
  .primary-nav, .more-menu { display: none; }
  .site-header.is-open .primary-nav,
  .site-header.is-open .more-menu {
    display: grid;
    grid-column: 1 / -1;
    justify-items: start;
    gap: 12px;
  }
  .more-panel {
    position: static;
    box-shadow: none;
    margin-top: 8px;
  }
  .hero, .split, .split.reverse, .product-detail {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: 420px; }
  .portrait { margin-left: 0; }
  .cards, .product-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .section { padding: 52px 18px; }
  .header-inner { padding-inline: 16px; }
  .brand img { width: 138px; }
  .hero { min-height: auto; gap: 34px; }
  .hero-media { min-height: 340px; }
  .artifact { width: 62%; right: 0; left: auto; }
  .cards, .product-grid, .service-grid, .gallery-grid, .amounts {
    grid-template-columns: 1fr;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .button:hover { transform: none; }
}