:root {
  --ink: #171717;
  --muted: #646464;
  --line: #e7e4dd;
  --paper: #f7f6f1;
  --white: #fff;
  --yellow: #f5b800;
  --yellow-soft: #ffe58c;
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
section { scroll-margin-top: 86px; }
.sr-only, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link:focus { z-index: 100; width: auto; height: auto; clip: auto; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--ink); color: white; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-color: var(--line); }
.nav-wrap { width: min(calc(100% - 40px), var(--max)); height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .25rem; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 52px; height: 44px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: .92rem; font-weight: 650; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-contact)::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -.45rem; background: var(--yellow); transition: right .2s; }
.site-nav a:hover::after { right: 0; }
.nav-contact { padding: .55rem 1rem; border-radius: 999px; background: var(--ink); color: white; }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { min-height: 760px; padding: 150px max(24px, calc((100vw - var(--max))/2)) 80px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4vw; background: var(--paper); overflow: hidden; position: relative; }
.hero-content, .hero-visual { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1rem; color: #8a6a00; font-size: .78rem; letter-spacing: .17em; font-weight: 800; }
.hero h1 { margin: 0; font-size: clamp(3.1rem, 5.2vw, 5.2rem); line-height: 1.06; letter-spacing: -.06em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-copy { max-width: 610px; margin: 1.8rem 0 2.2rem; color: var(--muted); font-size: 1.12rem; }
.hero-actions { display: flex; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .65rem 1.35rem; border-radius: 999px; font-weight: 750; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.button-primary { background: var(--yellow); }
.button-ghost { border: 1px solid #cbc7bd; background: rgba(255,255,255,.55); }
.button-dark { background: var(--ink); color: white; white-space: nowrap; }
.hero-visual { transform: rotate(2deg); }
.hero-visual > img { width: 100%; aspect-ratio: 16/10.5; object-fit: cover; border-radius: 4px 60px 4px 4px; box-shadow: 0 30px 70px rgba(25,25,25,.18); }
.hero-card { position: absolute; left: -2rem; bottom: -2rem; min-width: 138px; padding: 1rem 1.2rem; background: var(--yellow); box-shadow: 0 20px 40px rgba(0,0,0,.16); transform: rotate(-2deg); }
.hero-card strong, .hero-card span { display: block; }
.hero-card strong { font-size: 2rem; line-height: 1.1; }
.hero-card span { font-size: .8rem; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .45; }
.hero-shape-one { width: 330px; height: 330px; right: -140px; top: 70px; background: var(--yellow-soft); }
.hero-shape-two { width: 180px; height: 180px; left: -80px; bottom: -50px; border: 38px solid var(--yellow); }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 720px; margin-bottom: 3.5rem; }
.section-heading h2, .careers h2 { margin: 0 0 1rem; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.15; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6vw; align-items: center; }
.lead { font-size: 1.35rem; font-weight: 650; line-height: 1.65; }
.about-copy > p:not(.lead) { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 3rem 0 0; }
.facts div { padding-top: 1rem; border-top: 2px solid var(--ink); }
.facts dt { font-weight: 850; font-size: 1.35rem; }
.facts dd { margin: 0; color: var(--muted); font-size: .82rem; }
.image-card { margin: 0; position: relative; }
.image-card img { width: 100%; min-height: 440px; object-fit: cover; }
.image-card figcaption { position: absolute; right: -1rem; bottom: -1rem; padding: .65rem 1rem; background: var(--yellow); font-weight: 700; }

.vision-band { min-height: 580px; position: relative; display: grid; place-items: center; padding: 80px 24px; overflow: hidden; color: white; }
.vision-band > img, .vision-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vision-overlay { background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.42)); }
.vision-band blockquote { width: min(100%, 890px); margin: 0; position: relative; z-index: 1; text-align: center; }
.vision-band blockquote p { margin: 0 0 1.4rem; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.3; font-weight: 800; letter-spacing: -.04em; }
.vision-band footer { color: rgba(255,255,255,.72); }

.values .section-heading { margin-inline: auto; text-align: center; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.value-grid article { min-height: 250px; padding: 2.4rem; border: 1px solid var(--line); transition: background .25s, transform .25s; }
.value-grid article:hover { background: var(--yellow); transform: translate(-4px,-4px); }
.value-grid span { color: #91720b; font-size: .75rem; font-weight: 800; }
.value-grid h3 { margin: 2rem 0 .7rem; font-size: 1.65rem; }
.value-grid p { margin: 0; color: var(--muted); }
.value-grid article:hover p { color: #3d320d; }
.value-wide { grid-column: 1/-1; min-height: 210px !important; }

.team { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - var(--max))/2)); background: var(--paper); }
.team-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 6vw; align-items: end; }
.team-intro > p { margin-bottom: 4rem; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: 1.4fr .6fr; grid-template-rows: repeat(2, 270px); gap: 12px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-large { grid-row: 1 / 3; }

.careers { padding-top: 80px; padding-bottom: 80px; }
.careers-card { padding: clamp(2rem, 7vw, 5rem); display: flex; align-items: end; justify-content: space-between; gap: 3rem; background: var(--yellow); }
.careers-card > div { max-width: 770px; }
.careers-card .eyebrow { color: #5d4800; }
.careers-card p:last-child { max-width: 650px; }

.contact { text-align: center; }
.contact .section-heading { margin-inline: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: left; }
.contact-grid a { min-width: 0; padding: 1.8rem; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.contact-grid a:hover { border-color: var(--yellow); transform: translateY(-4px); }
.contact-grid span, .contact-grid strong, .contact-grid em { display: block; }
.contact-grid span { margin-bottom: .9rem; color: var(--muted); font-size: .8rem; }
.contact-grid strong { overflow-wrap: anywhere; }
.contact-grid em { margin-top: 2rem; color: #8a6a00; font-style: normal; font-size: .82rem; font-weight: 700; }
.address { margin: 3rem 0 0; color: var(--muted); }
.site-footer { min-height: 150px; padding: 2rem max(20px, calc((100vw - var(--max))/2)); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted); font-size: .8rem; }

@media (max-width: 850px) {
  .menu-button { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; padding: 120px 28px 40px; flex-direction: column; align-items: stretch; gap: 1.3rem; background: var(--white); font-size: 1.4rem; transform: translateX(100%); transition: transform .25s; }
  .site-nav.open { transform: translateX(0); }
  .nav-contact { text-align: center; margin-top: 1rem; }
  .hero { min-height: auto; padding-top: 130px; grid-template-columns: 1fr; }
  .hero-visual { margin-top: 2rem; }
  .hero-card { left: 1rem; }
  .about-grid, .team-intro { grid-template-columns: 1fr; }
  .team-intro > p { margin-top: -2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .nav-wrap, .section { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-inline: 14px; }
  .hero h1 { font-size: clamp(2.25rem, 10.7vw, 3.8rem); }
  .hero-actions { flex-wrap: wrap; }
  .hero-visual > img { aspect-ratio: 4/3; border-radius: 2px 36px 2px 2px; }
  .section { padding-top: 84px; padding-bottom: 84px; }
  .facts { grid-template-columns: 1fr; }
  .image-card img { min-height: 300px; }
  .vision-band { min-height: 520px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-wide { grid-column: auto; }
  .value-grid article { min-height: 210px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 290px 160px; }
  .photo-large { grid-column: 1/-1; grid-row: auto; }
  .careers-card { align-items: stretch; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
