:root {
  color-scheme: dark;
  --background: #101310;
  --surface: #171b16;
  --surface-deep: #121612;
  --line: #30372c;
  --text: #f4f5ee;
  --muted: #aeb6a7;
  --accent: #c6f45d;
  --width: 1232px;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
address { font-style: normal; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(calc(100% - 96px), var(--width)); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 16px; transform: translateY(-150%); color: #101310; background: var(--accent); }
.skip-link:focus { transform: none; }
.topbar { border-bottom: 1px solid #2b3128; background: #191e17; color: #c0c7b9; font-size: .82rem; }
.topbar-inner { min-height: 37px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--accent); }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid #242922; background: var(--background); }
.header-inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; font-size: 1.29rem; font-weight: 850; letter-spacing: -.06em; line-height: 1; }
.brand strong { color: var(--accent); font-weight: inherit; }
.brand small { display: block; margin-top: 6px; font-size: .5625rem; font-weight: 750; letter-spacing: .16em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: clamp(10px, 1.25vw, 23px); }
.nav a, .metal-menu summary { position: relative; padding-block: 28px; white-space: nowrap; color: #d6dbd1; font-size: .89rem; font-weight: 620; }
.nav a:hover, .nav a[aria-current="page"], .metal-menu summary:hover, .metal-menu[open] summary, .metal-menu:has([aria-current="page"]) summary { color: var(--accent); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; bottom: 14px; left: 0; width: 17px; height: 2px; border-radius: 3px; background: var(--accent); }
.metal-menu { position: relative; }
.metal-menu summary { cursor: pointer; }
.metal-menu summary::marker { color: var(--accent); }
.metal-menu-links { position: absolute; z-index: 1; top: calc(100% - 9px); left: -12px; display: grid; min-width: 185px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 12px 24px #0007; }
.metal-menu-links a { padding: 9px 12px; border-radius: 4px; }
.metal-menu-links a:hover, .metal-menu-links a[aria-current="page"] { background: #242d1f; }
.metal-menu-links a[aria-current="page"]::after { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #485833; border-radius: 6px; color: var(--accent); white-space: nowrap; font-size: .87rem; font-weight: 730; }
.header-phone:hover { background: #222d17; }
.menu-toggle { display: none; border: 1px solid var(--line); padding: 7px 9px; background: var(--surface); border-radius: 6px; color: var(--accent); cursor: pointer; }
.menu-toggle .icon { display: block; width: 24px; height: 24px; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 568px; display: flex; align-items: center; background: #121611; }
.hero-media { position: absolute; z-index: -1; inset: 0 0 0 31%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #121611 0%, #121611eb 9%, #12161175 38%, transparent 72%), linear-gradient(0deg, #10131092, transparent 37%); }
.hero-inner { padding-block: 85px 100px; }
.hero-copy { max-width: 655px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: .875rem; letter-spacing: .105em; font-weight: 760; line-height: 1.5; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 20px; height: 2px; background: currentColor; flex: none; }
.hero h1 { margin-block: 21px 23px; font-size: clamp(3.7rem, 6.4vw, 6.15rem); font-weight: 850; letter-spacing: -.085em; line-height: .98; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-description, .lede { color: #ced2c7; font-size: clamp(1.04rem, 1.5vw, 1.22rem); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 7px; padding: 12px 18px; font-size: .94rem; font-weight: 760; transition: background-color .18s, border-color .18s, color .18s; }
.button--primary { background: var(--accent); color: #151b0d; }
.button--primary:hover { background: #d7ff92; }
.button--outline { border-color: #626a5b; background: #151a1377; color: var(--text); }
.button--outline:hover { border-color: var(--accent); color: var(--accent); }
.button--dark { background: #192111; color: var(--accent); }
.button--dark:hover { background: #303b24; }
.button--dark:focus-visible { outline-color: #172010; }
.hero-caption { position: absolute; right: max(48px, calc((100% - var(--width)) / 2)); bottom: 27px; display: flex; align-items: center; gap: 9px; color: #f8f5ef; background: #131512be; border: 1px solid #ffffff3c; padding: 8px 10px; border-radius: 4px; font-size: .73rem; font-weight: 760; letter-spacing: .12em; }
.hero-caption span { width: 7px; height: 7px; border-radius: 50%; background: #e99d55; }

.specialties { border-block: 1px solid var(--line); background: #1a2117; }
.specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.specialty-grid a { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 21px 12px; font-weight: 730; }
.specialty-grid a + a { border-left: 1px solid #384333; }
.specialty-grid .icon { width: 23px; height: 23px; color: var(--accent); }
.specialty-grid a:hover { background: #252e1e; color: var(--accent); }

.section { padding-block: clamp(52px, 6.35vw, 96px); }
.section h2, .quote-band h2 { font-size: clamp(2rem, 3.65vw, 3.45rem); line-height: 1.08; letter-spacing: -.062em; font-weight: 800; }
.section .eyebrow { margin-bottom: 12px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.section-heading > p { max-width: 355px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.cards--areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.material-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; overflow: hidden; }
.material-photo { aspect-ratio: 1.85; overflow: hidden; background: #20241d; }
.material-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.material-card:hover { border-color: #8a9e60; }
.material-card:hover img { transform: scale(1.045); }
.material-card-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 19px 20px 22px; }
.material-card h3, .process-grid h3, .type-grid h3 { font-size: 1.3rem; letter-spacing: -.035em; line-height: 1.23; }
.material-card p, .process-grid p, .type-grid p { color: var(--muted); }
.card-link { align-self: start; margin-top: auto; padding-top: 8px; color: var(--accent); font-size: .88rem; font-weight: 730; }
.material-card:hover .card-link { text-decoration: underline; }
.process { background: var(--surface-deep); border-block: 1px solid var(--line); }
.process-grid, .type-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 29px; }
.process-grid > div, .type-grid > * { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 23px; }
.process-grid .icon, .contact-grid .icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 14px; }
.process-grid h3, .type-grid h3 { margin-bottom: 8px; }
.band-wrap { padding-block: clamp(38px, 5vw, 72px); }
.quote-band { display: flex; align-items: center; justify-content: space-between; gap: 22px; border-radius: 13px; background: var(--accent); color: #172010; padding: clamp(24px, 4vw, 50px); }
.quote-band p { margin-top: 8px; }
.quote-band .button { flex: none; }

.detail-hero { background: #171d15; border-bottom: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(25px, 5vw, 74px); padding-block: 52px 68px; }
.detail-grid > img { width: 100%; border: 1px solid var(--line); border-radius: 12px; aspect-ratio: 1.34; object-fit: cover; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .875rem; margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }
.detail-grid h1 { font-size: clamp(2.5rem, 5.1vw, 4.65rem); line-height: 1.03; margin-block: 12px 16px; letter-spacing: -.07em; font-weight: 820; }
.reading-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(25px, 6vw, 90px); }
.reading-grid h2 { font-size: clamp(1.55rem, 2.5vw, 2.35rem); letter-spacing: -.045em; }
.prose section + section { margin-top: 28px; }
.prose p { color: var(--muted); margin-top: 12px; }
.questions details { border-bottom: 1px solid var(--line); padding-block: 13px; }
.questions h2 { margin-bottom: 8px; }
.questions summary { cursor: pointer; font-weight: 690; }
.questions summary::marker { color: var(--accent); }
.questions p { margin-top: 8px; color: var(--muted); }
.cards--related { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.contact-grid a { color: var(--accent); overflow-wrap: anywhere; }
.contact-grid a:hover { text-decoration: underline; }

.site-footer { border-top: 1px solid var(--line); background: #151914; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; padding-block: 39px; }
.footer-grid .brand { color: var(--text); }
.footer-grid p { margin-top: 13px; }
.footer-grid h2 { margin-bottom: 13px; color: var(--text); font-size: 1.0625rem; }
.footer-grid nav, .footer-grid address { display: flex; flex-direction: column; align-items: start; gap: 8px; font-size: .94rem; }
.footer-grid address > * { display: inline-flex; align-items: center; gap: 8px; }
.footer-grid .icon { color: var(--accent); }
.footer-grid a:hover, .topbar a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 15px; font-size: .875rem; }
.floating-whats { position: fixed; z-index: 3; bottom: max(23px, env(safe-area-inset-bottom)); right: max(23px, env(safe-area-inset-right)); display: grid; place-items: center; width: 56px; height: 56px; background: #c6f45d; color: #172010; border-radius: 50%; box-shadow: 0 5px 26px #0009; }
.floating-whats:hover { background: #d7ff92; }
.floating-whats .icon { width: 29px; height: 29px; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 16px; }
  .hero-caption { right: 32px; }
}

@media (max-width: 1180px) {
  .header-inner { min-height: 69px; flex-wrap: wrap; }
  .header-phone { margin-left: auto; }
  .nav { order: 3; width: 100%; display: flex; flex-wrap: wrap; gap: 0 24px; }
  .nav > a, .metal-menu summary { padding-block: 10px; }
  .nav a[aria-current="page"]::after { bottom: 5px; }
  .has-menu .nav { display: none; }
  .has-menu .nav.is-open { display: flex; padding-bottom: 10px; }
  .has-menu .menu-toggle { display: block; order: 2; }
}

@media (max-width: 880px) {
  .hero { min-height: 510px; }
  .hero-media { left: 25%; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .cards, .type-grid, .process-grid { gap: 13px; }
  .cards--areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid > div, .type-grid > * { padding: 17px; }
  .material-card-body { padding-inline: 15px; }
}

@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .topbar { font-size: .72rem; }
  .topbar-inner { min-height: 33px; gap: 4px; }
  .topbar span, .topbar a { gap: 4px; }
  .header-inner { min-height: 64px; gap: 8px; }
  .brand { font-size: 1.04rem; gap: 7px; }
  .brand img { width: 33px; height: 33px; }
  .brand small { margin-top: 4px; font-size: .47rem; }
  .header-phone { padding: 8px 6px; font-size: .73rem; gap: 5px; }
  .menu-toggle { padding: 6px; }
  .menu-toggle .icon { width: 20px; height: 20px; }
  .nav, .has-menu .nav.is-open { flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); }
  .metal-menu-links { position: static; padding: 2px 0 6px 12px; border: 0; background: transparent; box-shadow: none; }
  .hero { min-height: 535px; align-items: end; }
  .hero-media { inset: 0; }
  .hero-media img { object-position: 60% center; }
  .hero-media::after { background: linear-gradient(0deg, #121611 8%, #121611f3 28%, #121611a3 69%, #11151033 100%), linear-gradient(90deg, #12161176, transparent 70%); }
  .hero-inner { padding-block: 106px 61px; }
  .hero h1 { font-size: clamp(3rem, 11.9vw, 4.55rem); margin-block: 15px 17px; letter-spacing: -.075em; }
  .eyebrow { font-size: .75rem; }
  .desktop-break { display: none; }
  .actions { margin-top: 23px; gap: 8px; }
  .button { min-height: 48px; padding-inline: 12px; font-size: .86rem; }
  .hero-caption { right: 18px; bottom: 13px; font-size: .625rem; padding: 4px 6px; }
  .specialty-grid { width: 100%; }
  .specialty-grid a { flex-direction: column; gap: 6px; padding: 12px 3px; text-align: center; font-size: .77rem; }
  .specialty-grid .icon { width: 20px; height: 20px; }
  .cards, .type-grid, .process-grid, .detail-grid, .reading-grid, .cards--related { grid-template-columns: 1fr; }
  .material-photo { aspect-ratio: 2; }
  .quote-band { flex-direction: column; align-items: start; }
  .detail-grid { padding-block: 28px 40px; }
  .detail-grid > img { aspect-ratio: 1.62; }
  .breadcrumb { margin-bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 13px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid address a { overflow-wrap: anywhere; }
  .floating-whats { bottom: max(14px, env(safe-area-inset-bottom)); right: max(14px, env(safe-area-inset-right)); width: 48px; height: 48px; }
  .floating-whats .icon { width: 25px; height: 25px; }
}

@media (max-width: 380px) {
  .header-phone { justify-content: center; min-width: 35px; }
  .header-phone span { display: none; }
}

@media (max-width: 350px) {
  .wrap { width: calc(100% - 26px); }
  .footer-grid { grid-template-columns: 1fr; }
}

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