:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --white: #fff;
  --ink: #152b28;
  --muted: #4d5d56;
  --line: #d1d7cf;
  --green: #153b37;
  --copper: #a44b32;
  --page: 1260px;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { display: block; width: 100%; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-weight: 400; letter-spacing: -.022em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.125rem); line-height: 1.08; }
section[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
.wrap { width: min(var(--page), calc(100% - 112px)); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 5; transform: translateY(-180%); padding: 10px 16px; background: var(--white); }
.skip:focus { transform: none; }

.header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: 0 0 auto; width: 240px; }
.brand img { height: auto; }
.navigation { display: flex; align-items: center; gap: 33px; }
.navigation > a { font-size: .9375rem; text-decoration: none; }
.navigation > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 8px 13px; cursor: pointer; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 11px 19px; border: 1px solid transparent; background: var(--green); color: #fff; font-size: .9375rem; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 160ms ease; }
.button:hover { background: #26534b; }
.button:disabled { opacity: .65; cursor: wait; }
.text-link { display: inline-block; text-underline-offset: .28em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--copper); }
.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 52px; padding-block: 48px 72px; }
.hero h1 { font-size: clamp(2.7rem, 4.25vw, 3.8rem); line-height: 1.02; }
.hero-description { color: var(--muted); max-width: 36ch; margin-block: 22px 28px; font-size: 1.1875rem; line-height: 1.5; }
.hero-figure { background: var(--green); aspect-ratio: 4 / 3; }
.hero-figure img { height: 100%; object-fit: cover; object-position: center; }

.portfolio { border-block: 1px solid var(--line); padding-block: 72px 84px; }
.section-grid { display: grid; grid-template-columns: minmax(0, .69fr) minmax(0, 1.31fr); align-items: start; gap: 68px; }
.body-copy { color: var(--muted); margin-top: 17px; max-width: 36ch; font-size: 1.0625rem; }
.material-index { display: grid; grid-template-columns: minmax(185px, .62fr) minmax(0, 2.38fr); gap: clamp(24px, 3.5vw, 48px); margin-top: 32px; align-items: start; }
.material-index-list { display: grid; align-content: start; border-inline-end: 1px solid var(--line); padding-inline-end: 19px; }
.material-index-list a { display: flex; align-items: center; min-height: 42px; padding: 6px 9px 6px 13px; border-inline-start: 2px solid transparent; color: var(--muted); font-size: 1.0625rem; line-height: 1.2; text-decoration: none; }
.material-index-list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.material-index-list a[aria-selected="true"] { border-inline-start-color: var(--copper); color: var(--ink); background: #eef0eb; }
.material-panel { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(22px, 3vw, 42px); align-items: start; scroll-margin-top: 24px; }
.material-panel[hidden] { display: none; }
.material-panel + .material-panel:not([role]) { margin-top: 36px; }
.material-panel-copy { padding-block: 6px; }
.material-form { font-size: clamp(1.5rem, 2.5vw, 2.125rem); line-height: 1.13; letter-spacing: -.022em; }
.material-use { max-width: 40ch; margin-top: 17px; }
.material-spec { max-width: 40ch; margin-top: 13px; color: var(--muted); font-size: .9375rem; }
.material-panel .inquiry-link { margin-top: 23px; }
.material-panel img { aspect-ratio: 19 / 15; height: auto; object-fit: cover; background: #e6e8e2; }

.markets, .about { padding-block: 76px 82px; }
.about { background: var(--green); color: var(--white); }
.section-copy { color: var(--muted); max-width: 57ch; font-size: 1.125rem; }
.about .section-copy { color: #d4e0d7; }
.about h3 { margin: 26px 0 10px; color: var(--white); font-size: 1.375rem; font-weight: 400; line-height: 1.25; letter-spacing: -.022em; }
.section-copy p + p { margin-top: 16px; }
.contact { padding-block: 76px 88px; }
.inquiry-form { border-top: 1px solid #aebbb0; padding-top: 24px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 17px 20px; }
.form-grid label { display: grid; gap: 7px; font-size: .9375rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { min-width: 0; width: 100%; color: var(--ink); background: #fff; border: 1px solid #aab9ae; border-radius: 0; padding: 10px 11px; font-size: 1rem; font-weight: 400; }
.form-grid input, .form-grid select { min-height: 45px; }
.form-grid select { appearance: none; padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23153b37' stroke-width='1.5'/%3E%3C/svg%3E") right 11px center / 12px 9px no-repeat; }
.form-grid textarea { resize: vertical; }
.form-grid .bot-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-note { color: var(--muted); font-size: .875rem; margin: 15px 0 18px; }
.form-status { color: var(--green); font-weight: 600; overflow-wrap: anywhere; }
.form-status:not(:empty) { margin-top: 15px; }
.form-status[data-error] { color: #a32e23; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand { width: 185px; }
.footer small { color: var(--muted); font-size: .875rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: .9375rem; }
.footer-links a { text-underline-offset: 4px; }

@media (max-width: 1120px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 34px; }
  .section-grid { gap: 44px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { min-height: 73px; }
  .header .brand { width: 194px; }
  .navigation { gap: 19px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 44px 52px; }
  .hero h1 { font-size: clamp(2.7rem, 7vw, 3.8rem); }
  .desktop-break { display: none; }
  .hero-figure { aspect-ratio: 8 / 5; }
  .section-grid { grid-template-columns: 1fr; gap: 25px; }
  .portfolio, .markets, .about, .contact { padding-block: 62px 66px; }
}
@media (max-width: 720px) {
  .material-index { grid-template-columns: 1fr; gap: 23px; margin-top: 23px; }
  .material-index-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--line); }
  .material-index-list a { min-height: 44px; }
  .header-inner { flex-wrap: wrap; min-height: 69px; gap: 0; padding-block: 12px; }
  .menu-button { display: block; }
  .navigation { display: none; flex-basis: 100%; align-items: stretch; flex-direction: column; gap: 0; padding-top: 9px; }
  .navigation.is-open, .navigation:focus-within { display: flex; }
  .navigation > a { padding-block: 10px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 38px); }
  .header .brand { width: 174px; }
  .hero { padding-top: 35px; }
  .hero h1 { font-size: clamp(2.4rem, 9.2vw, 3.4rem); }
  .hero-description { margin-top: 17px; font-size: 1.0625rem; }
  .hero-figure { aspect-ratio: 4 / 3; }
  .material-panel { grid-template-columns: 1fr; gap: 20px; }
  .material-panel img { aspect-ratio: 3 / 2; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
