:root {
  color-scheme: light;
  --paper: #f5f6ef;
  --ink: #142c21;
  --muted: #46564a;
  --green: #234f39;
  --lime: #d9f578;
  --line: #d5ddcf;
  --width: 1280px;
  --gutter: clamp(1.25rem, 5.5vw, 5.25rem);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.75; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 3px solid #54771c; outline-offset: 5px; }
.hero :focus-visible, .contact-section :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
[id] { scroll-margin-top: 1.25rem; }

.wrap { width: min(var(--width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .5rem; left: 1rem; padding: .75rem 1rem; color: var(--ink); background: var(--lime); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-head { background: #fafbf6; position: relative; z-index: 2; }
.head-inner { min-height: 5.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
.brand-mark { display: block; flex: none; width: 2.5rem; height: auto; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; gap: .32rem; line-height: 1; }
.brand-text strong { font: 900 1.82rem/.86 Arial, sans-serif; letter-spacing: -.045em; }
.brand-text span { font-size: .7rem; font-weight: 750; }
.nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.8rem); font-size: .9rem; font-weight: 750; }
.nav a:not(.button):hover { color: #486a23; text-decoration: underline; text-underline-offset: .35rem; }
.button, .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .62rem 1.3rem; border: 1px solid transparent; border-radius: .27rem; font-size: .94rem; font-weight: 800; line-height: 1.35; text-align: center; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.head-cta { min-height: 2.8rem; background: var(--green); color: white; }
.head-cta:hover { background: #173526; }
.nav-toggle { background: transparent; min-height: 2.65rem; padding: .4rem .6rem; border-color: var(--line); gap: .5rem; cursor: pointer; font-size: .85rem; }
.menu-icon { width: .95rem; height: .62rem; border-block: 2px solid currentColor; }
.nav-toggle[aria-expanded="true"] .menu-icon { border-top-width: 0; height: .14rem; }

.hero { isolation: isolate; position: relative; background: #12271d; color: #fff; }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-photo { max-width: none; object-fit: cover; object-position: center 45%; }
.hero::after { content: ""; background: linear-gradient(90deg, rgba(7,24,15,.79), rgba(7,24,15,.59) 27%, rgba(8,23,16,.19) 59%, transparent 82%), linear-gradient(0deg, rgba(7,24,16,.45), transparent 25%); }
.hero-inner { min-height: clamp(35rem, 47vw, 48rem); position: relative; display: grid; align-items: center; padding-block: 5rem 6rem; }
.hero-copy { max-width: 43rem; }
.eyebrow { font: 800 .82rem/1.5 Arial, "Yu Gothic", sans-serif; letter-spacing: .17em; color: #436125; }
.hero-label { display: flex; align-items: center; gap: .7rem; color: var(--lime); letter-spacing: .11em; font-size: .91rem; }
.hero-label::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; flex: none; }
h1 { margin-top: 1.05rem; font-size: clamp(4.2rem, 7.5vw, 7.4rem); font-weight: 850; letter-spacing: -.065em; line-height: 1.05; }
.hero-intro { margin-top: 1.8rem; font-size: clamp(.98rem, 1.5vw, 1.18rem); line-height: 1.85; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.button-bright { background: var(--lime); color: #172d20; }
.button-bright:hover { background: #f1ffbd; }
.button-outline { color: #fff; border-color: #dce4db; background: rgba(11,31,22,.25); }
.button-outline:hover { background: #fff; color: var(--ink); }
.hero-note { position: absolute; right: 0; bottom: 1rem; font-size: .75rem; color: #f0f5ec; letter-spacing: .09em; }
.field-nav { background: #e9efdf; border-bottom: 1px solid var(--line); }
.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.field-grid a { padding: 1.13rem clamp(.5rem, 2.5vw, 2rem); border-left: 1px solid #ced9c9; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .8rem; }
.field-grid a:last-child { border-right: 1px solid #ced9c9; }
.field-grid a:hover { background: #dce8cf; }
.field-grid strong { font-size: clamp(.94rem, 1.3vw, 1.1rem); }
.field-grid span { font: 700 .68rem/1.7 Arial, sans-serif; letter-spacing: .1em; color: #4b6145; }

.section { padding-block: clamp(3.7rem, 8vw, 7rem); }
.section-lead { display: flex; gap: 1.1rem 2.5rem; align-items: end; justify-content: space-between; margin-bottom: clamp(1.65rem, 3.8vw, 3.5rem); }
.section-lead > p { max-width: 34rem; color: var(--muted); }
h2 { font-weight: 850; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.14; letter-spacing: -.055em; }
.section .eyebrow, .contact-inner .eyebrow { margin-bottom: .6rem; }
h3 { line-height: 1.42; letter-spacing: -.02em; font-weight: 850; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: .6rem 2rem; align-items: center; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(1.15rem, 2.1vw, 1.6rem); }
.service p { color: var(--muted); }
.service-links { display: flex; flex-wrap: wrap; gap: .9rem; }
.text-link { display: inline-block; width: fit-content; font-weight: 800; font-size: .93rem; color: #28533d; text-decoration: underline; text-underline-offset: .3em; }
.text-link:hover { color: #47651a; }
.button-dark-outline { border-color: #59765f; color: var(--green); }
.button-dark-outline:hover { background: var(--green); border-color: var(--green); color: white; }

.project-section { background: #e7eee2; }
.project-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1rem; }
.project { background: #fafbf6; min-width: 0; }
.project img { width: 100%; aspect-ratio: 1.4; height: auto; object-fit: cover; background: #cedcc9; }
.project-main img { aspect-ratio: auto; height: clamp(11rem, 18vw, 16rem); }
.project:not(.project-main) img { height: clamp(11rem, 18vw, 16rem); }
.project-copy { padding: clamp(1.05rem, 2.1vw, 1.7rem); }
.project-copy h3 { font-size: clamp(1.06rem, 1.7vw, 1.42rem); margin-block: .32rem .65rem; }
.project-copy > p:last-child { color: var(--muted); }
.project-meta { color: #425e3b; font-weight: 750; font-size: .84rem; }

.product-links, .company-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.company-section { border-top: 1px solid var(--line); }
.company-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 2rem clamp(2rem, 8vw, 7rem); }
.company-intro { margin-top: 1.05rem; color: var(--muted); max-width: 23rem; }
.company-details { border-top: 1px solid var(--line); }
.company-details > div { display: grid; grid-template-columns: 6rem 1fr; gap: .7rem; border-bottom: 1px solid var(--line); padding-block: .8rem; }
.company-details dt { font-weight: 800; }
.company-links { margin-top: 1rem; gap: 1.4rem; }
.contact-section { background: #162f23; color: #f3f7ee; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; padding-block: clamp(3rem, 6vw, 5rem); gap: 1.5rem 3rem; }
.contact-inner .eyebrow { color: var(--lime); }
.contact-inner h2 { font-size: clamp(1.9rem, 4.6vw, 3.8rem); }
.contact-inner p:last-child { margin-top: .9rem; color: #d9e7d9; }
.contact-actions { display: grid; gap: .65rem; flex: none; }
.contact-phone { display: flex; align-items: center; justify-content: center; gap: .6rem; font: 750 clamp(1.4rem, 2.5vw, 1.9rem)/1.2 Arial, sans-serif; }
.contact-phone span { font-size: .85rem; font-family: system-ui, sans-serif; }
.contact-phone:hover { color: var(--lime); }
.site-footer { background: #102419; color: #d6e2d6; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.4rem; font-size: .86rem; }
.footer-inner nav { display: flex; gap: 1.25rem; }
.footer-inner a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .service { grid-template-columns: 1fr 1.2fr; }
  .service > :last-child { grid-column: 2; }
  .field-grid a { flex-direction: column; }
}
@media (max-width: 760px) {
  .head-inner { flex-wrap: wrap; min-height: 4.25rem; padding-block: .65rem; }
  .nav { flex: 1 0 100%; flex-wrap: wrap; gap: .8rem 1rem; padding-bottom: .35rem; }
  .nav-toggle:not([hidden]) + .nav { position: absolute; top: 100%; inset-inline: 0; display: grid; gap: 0; padding: .35rem var(--gutter) 1rem; background: #fafbf6; border-bottom: 1px solid var(--line); box-shadow: 0 .7rem 1.2rem #12271d26; }
  .nav-toggle:not([hidden]) + .nav a:not(.button) { padding: .7rem .2rem; border-bottom: 1px solid var(--line); }
  .nav-toggle:not([hidden]) + .nav .head-cta { margin-top: .7rem; justify-self: start; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-main { grid-column: 1 / -1; }
  .project-main img { height: clamp(12rem, 42vw, 19rem); }
  .contact-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 650px) {
  .hero-inner { min-height: 34rem; align-items: start; padding-block: 3.9rem 4.3rem; }
  .hero-photo { object-position: 76% 53%; }
  .hero::after { background: linear-gradient(90deg, rgba(8,24,15,.74), rgba(8,24,15,.37) 65%, rgba(8,24,15,.22)), linear-gradient(0deg, rgba(8,24,15,.65), transparent 44%); }
  h1 { font-size: clamp(3.5rem, 12.8vw, 5.15rem); }
  .hero-intro { margin-top: 1.35rem; max-width: 24rem; }
  .hero-actions { margin-top: 1.45rem; }
  .hero-actions .button { padding-inline: .85rem; }
  .field-grid { width: 100%; }
  .field-grid a { justify-content: center; align-items: center; text-align: center; padding: .77rem .22rem; }
  .field-grid a:first-child { border-left: 0; }
  .field-grid a:last-child { border-right: 0; }
  .field-grid strong { font-size: clamp(.72rem, 2.95vw, .98rem); }
  .field-grid span { font-size: clamp(.49rem, 2.1vw, .64rem); letter-spacing: .04em; }
  .section-lead { flex-direction: column; align-items: start; }
  .service { grid-template-columns: 1fr; padding-block: 1.25rem; }
  .service > :last-child { grid-column: 1; }
  .company-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 435px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-main { grid-column: auto; }
  .project:not(.project-main) img { height: clamp(10rem, 56vw, 14rem); }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 360px) {
  .head-inner { width: calc(100% - 1.5rem); gap: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
