:root {
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --ink: #1a1613;
  --ink-soft: #4a433d;
  --muted: #8a8177;
  --line: rgba(26, 22, 19, 0.12);
  --red: #b5261f;
  --red-soft: rgba(181, 38, 31, 0.08);
  --white: #ffffff;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.section-inner { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(246, 243, 238, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 22px 32px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 20px; }
.brand-word { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: 0.02em; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); transition: color 0.2s ease; }
.main-nav a:hover { color: var(--red); }
.header-cta { font-size: 13px; font-weight: 700; padding-bottom: 2px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 30px; height: 30px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* hero */
.hero { padding: 120px 32px 90px; }
.hero-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 60px; align-items: end; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 26px; }
.hero-left h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 8vw, 108px); line-height: 0.98; letter-spacing: -0.02em; }
.hero-left h1 em { font-style: italic; color: var(--red); font-weight: 500; }
.hero-sub { margin-top: 32px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); max-width: 480px; }
.hero-actions { margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; border: 1px solid var(--ink); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; border-radius: 0; }

.hero-right { border-left: 1px solid var(--line); padding-left: 40px; }
.hero-number { font-family: var(--serif); font-size: clamp(70px, 9vw, 130px); line-height: 0.9; color: var(--red); font-weight: 300; }
.hero-number-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.hero-rule { height: 1px; background: var(--line); margin: 28px 0; }
.hero-mini-stats { display: flex; gap: 32px; }
.hero-mini-stats strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.hero-mini-stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: scrollx 28s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: 15px; letter-spacing: 0.08em; color: rgba(246, 243, 238, 0.55); }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* section head / index */
.about-index { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.about-index span { font-family: var(--serif); font-size: 14px; color: var(--red); }
.about-index p { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* about */
.about { padding: 110px 0; }
.about-grid { display: grid; grid-template-columns: 200px 1fr; gap: 40px; }
.about-copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.15; margin-bottom: 28px; }
.about-copy p { font-size: 16px; line-height: 1.8; color: var(--ink-soft); max-width: 640px; margin-bottom: 18px; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 640px; }
.about-split h4 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.about-split p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* companies */
.companies { padding: 100px 0 120px; background: var(--paper-2); }
.section-head { margin-bottom: 56px; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.5vw, 48px); }
.company-row-header { padding: 16px 0; border-bottom: 1px solid var(--ink); margin-top: 32px; }
.company-row-header.second { margin-top: 56px; }
.company-row-header span { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.company-row { display: grid; grid-template-columns: 70px 1fr 1.4fr 30px; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.25s ease, background 0.25s ease; }
.company-row:hover { padding-left: 14px; background: rgba(181, 38, 31, 0.04); }
.row-logo { height: 34px; display: flex; align-items: center; }
.row-logo img { max-height: 34px; width: auto; }
.row-name { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.row-desc { font-size: 14px; color: var(--muted); }
.row-arrow { font-size: 20px; color: var(--red); text-align: right; }

/* values */
.values { padding: 110px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.value-item { padding-top: 22px; border-top: 2px solid var(--ink); }
.value-item h4 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.value-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* contact */
.contact { padding: 110px 0 100px; background: var(--ink); color: var(--paper); }
.contact .about-index span { color: var(--red); }
.contact .about-index p { color: rgba(246, 243, 238, 0.5); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 20px; }
.contact-copy > p { font-size: 15px; color: rgba(246, 243, 238, 0.65); line-height: 1.7; margin-bottom: 28px; max-width: 440px; }
.call-line { display: inline-block; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--paper); border-bottom: 1px solid rgba(246, 243, 238, 0.3); padding-bottom: 6px; margin-bottom: 24px; }
.address-line { font-size: 13.5px; color: rgba(246, 243, 238, 0.55); line-height: 1.6; margin-bottom: 28px; }
.map-container { border: 1px solid rgba(246, 243, 238, 0.15); filter: grayscale(0.5) invert(0.9) contrast(0.85); }
.map-container iframe { width: 100%; height: 220px; border: 0; display: block; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid rgba(246, 243, 238, 0.25);
  color: var(--paper); font-family: var(--sans); font-size: 14px; outline: none; transition: border-color 0.2s ease;
}
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 16px; color: rgba(246,243,238,0.6); }
.contact-form select:valid { color: var(--paper); }
.contact-form textarea { resize: vertical; min-height: 90px; font-family: var(--sans); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(246, 243, 238, 0.35); }
.contact-form .btn-ink { background: var(--red); border-color: var(--red); color: var(--paper); margin-top: 8px; }
.contact-form .btn-ink:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

#formResponse { font-size: 13px; }
.alert { padding: 12px 0; margin-top: 4px; }
.alert-success { color: #7fd99a; }
.alert-error { color: #ff8f87; }

/* footer */
.site-footer { padding: 32px; border-top: 1px solid var(--line); }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; font-size: 14px; }
.footer-brand img { width: 15px; }
.footer-text { font-size: 12px; color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .company-row { grid-template-columns: 50px 1fr 24px; }
  .row-desc { display: none; }

  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px 32px 26px; gap: 18px; }
}
@media (max-width: 620px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
}
