:root {
  --white: #ffffff;
  --charcoal: #3b3a3a;
  --ink: #1a1a1a;
  --bronze: #a68b5b;
  --bronze-dark: #8a7249;
  --cream: #f5f2ee;
  --line: #e4ddd3;
  --head: "Raleway", "Century Gothic", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--charcoal); background: var(--white); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 500; line-height: 1.15; margin: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; font: 500 15px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; border-radius: 2px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-solid { background: var(--bronze); color: var(--white); }
.btn-solid:hover { background: var(--bronze-dark); }
.btn-ghost { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-sm { padding: 11px 18px; font-size: 13px; }
.btn-wide { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-tag { font: 400 13px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--bronze); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,26,.2) 0%, rgba(26,26,26,.5) 40%, rgba(26,26,26,.85) 100%), linear-gradient(90deg, rgba(26,26,26,.45) 0%, rgba(26,26,26,0) 70%); }
.hero .eyebrow { color: #e6d3ad; }
.hero-copy { position: relative; padding-top: 120px; padding-bottom: clamp(48px, 9vh, 96px); }
.hero h1 { color: var(--white); font-weight: 400; font-size: clamp(40px, 7vw, 80px); letter-spacing: -.01em; }
.hero-sub { max-width: 560px; font-size: clamp(17px, 2vw, 19px); margin: 20px 0 32px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding: clamp(64px, 10vw, 112px) 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--charcoal); color: rgba(255,255,255,.85); }
.eyebrow { font: 500 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin: 0 0 14px; }
.eyebrow.light { color: #d2bc92; }
.section-title { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 44px; }
.section-title.light { color: var(--white); }
.center { text-align: center; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-img { aspect-ratio: 5 / 4; overflow: hidden; margin-bottom: 22px; background: var(--cream); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .service-img img { transform: scale(1.04); }
.service h3 { font-size: 21px; letter-spacing: .08em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.service p { margin: 0; font-size: 16px; }
.specialties { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.specialties li { border: 1px solid var(--line); padding: 16px 12px; text-align: center; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--white); }

/* About */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about-copy .section-title { margin-bottom: 24px; }
.license { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.person { margin: 0; text-align: center; }
.person img { width: min(220px, 100%); aspect-ratio: 1; object-fit: cover; object-position: center 22%; border-radius: 50%; margin: 0 auto 20px; }
.person strong { display: block; font: 600 18px/1.3 var(--head); color: var(--ink); }
.person span { display: block; margin-top: 6px; font-size: 15px; color: var(--bronze); line-height: 1.4; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.tile { padding: 0; border: 0; background: #2b2a2a; overflow: hidden; cursor: zoom-in; }
.tile.tall { grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.tile:hover img { transform: scale(1.04); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,10,10,.9); }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lb-close { position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; font-size: 34px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info .section-title { margin-bottom: 20px; }
.details { margin: 32px 0 0; display: grid; gap: 18px; }
.details dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.details dd { margin: 2px 0 0; color: var(--ink); }
.details a { text-decoration: none; border-bottom: 1px solid var(--line); }
.inquiry { background: var(--white); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); display: grid; gap: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.opt { font-weight: 400; color: #8b8680; }
.inquiry input, .inquiry select, .inquiry textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); padding: 12px 14px; border: 1px solid #d8d0c4; border-radius: 2px; background: var(--white); }
.inquiry select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: 2px solid var(--bronze); outline-offset: 0; border-color: var(--bronze); }
.inquiry .invalid { border-color: #b3261e; }
.prefs { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.prefs legend { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; padding: 0; }
.chip { display: block !important; position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 10px 20px; border: 1px solid #d8d0c4; font-weight: 400; cursor: pointer; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--bronze); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; min-height: 1.4em; font-size: 15px; }
.form-msg.ok { color: #2f6b3a; }
.form-msg.err { color: #b3261e; }
.inquiry.sent > :not(.form-msg) { display: none; }
.inquiry.sent .form-msg { font-size: 18px; color: var(--ink); padding: 24px 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 0; font-size: 14px; }
.footer-row { display: flex; align-items: center; gap: 20px; }
.footer-logo { filter: invert(1); width: 48px; height: 48px; object-fit: contain; }
.site-footer p { margin: 0; }
.site-footer a { text-decoration: none; }

/* Tablet */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .specialties { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .about, .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}

/* Phone */
@media (max-width: 760px) {
  .brand-tag { display: none; }
  .menu-btn { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 78vh; }
  .hero-actions .btn { flex: 1 1 100%; }
  .services { grid-template-columns: 1fr; }
  .specialties li { font-size: 12px; padding: 14px 8px; }
  .person img { width: 150px; }
  .gallery { grid-auto-rows: 150px; gap: 8px; }
  .grid2 { grid-template-columns: 1fr; }
  .footer-row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
