:root {
  --navy: #102b43;
  --deep: #0a2035;
  --ink: #132d43;
  --muted: #486075;
  --teal: #087b73;
  --mint: #b5f1d8;
  --line: #d6e4e8;
  --pale: #f1f7f7;
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #139c88; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 5; transform: translateY(-160%); background: white; padding: 8px 14px; }
.skip:focus { transform: none; }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 3; background: white; border-bottom: 1px solid var(--line); }
.header-inner, nav, .brand, .footer-inner { display: flex; align-items: center; }
.header-inner { min-height: 76px; justify-content: space-between; gap: 28px; }
.brand { text-decoration: none; min-height: 52px; display: inline-flex; align-items: center; }
.brand-svg, .brand img { display: block; height: 44px; width: auto; max-width: 195px; }
nav { gap: clamp(18px, 3vw, 42px); }
nav a { text-decoration: none; font-size: .89rem; font-weight: 650; }
nav a:hover { color: var(--teal); }
.nav-cta { padding: 9px 16px; border: 1px solid #a8c5c8; border-radius: 5px; }
.link-arrow { flex: 0 0 8px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); margin-right: 6px; }
.menu { display: none; }
.hero { color: white; background: var(--deep); position: relative; isolation: isolate; }
.hero-photo { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0a2035 5%, #0a2035 38%, #0a203580 66%, #0a203516), url('hero.webp') right 50% / auto 115% no-repeat; }
.hero-inner { padding-block: clamp(65px, 8vw, 112px); }
.kicker { display: flex; gap: 10px; align-items: center; color: var(--teal); text-transform: uppercase; font-size: .73rem; font-weight: 800; letter-spacing: .15em; margin: 0 0 18px; }
.kicker span { width: 18px; height: 2px; background: currentColor; flex: 0 0 18px; }
.hero .kicker, .contact .kicker { color: var(--mint); }
h1, h2, h3 { line-height: 1.09; margin: 0; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.3vw, 4.65rem); max-width: 750px; font-weight: 700; }
h2 { font-size: clamp(2.1rem, 4vw, 3.55rem); font-weight: 700; }
h3 { font-size: 1.28rem; line-height: 1.25; letter-spacing: -.025em; }
p { margin: 0 0 15px; }
.hero-lead { margin: 25px 0 29px; color: #d9e9f4; max-width: 540px; font-size: clamp(1rem, 1.7vw, 1.15rem); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; gap: 2px; align-items: center; justify-content: center; min-height: 49px; border-radius: 5px; font-size: .89rem; font-weight: 750; text-decoration: none; padding: 10px 16px; }
.primary { background: var(--mint); color: #0e3d36; }
.primary:hover { background: #d6fbea; }
.section { padding-block: clamp(56px, 7vw, 100px); }
.about, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 92px); }
.about-copy { padding-top: 18px; }
.about-copy p, .section-intro > p:not(.kicker), .product p, dd { color: var(--muted); }
.portfolio { background: var(--pale); border-block: 1px solid var(--line); }
.section-intro { max-width: 720px; margin-bottom: 34px; }
.section-intro > p:last-child { margin: 16px 0 0; max-width: 58ch; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product { background: white; border: 1px solid var(--line); border-radius: 9px; padding: 24px; }
.product h3 { margin-bottom: 10px; }
.product p { margin: 0; }
dt { font-weight: 750; }
dd { margin: 4px 0 0; font-size: .91rem; }
.contact { color: white; background: var(--navy); }
.contact h2 + p { margin-top: 15px; }
.contact p { color: #d9e9f4; }
address { align-self: start; border-top: 1px solid #527182; font-style: normal; }
address a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 4px; border-bottom: 1px solid #527182; text-decoration: none; }
address a:hover { color: var(--mint); }
address small { display: block; color: var(--mint); font-size: .88rem; overflow-wrap: anywhere; }
footer { background: var(--deep); color: #d9e9f4; }
.footer-inner { justify-content: space-between; padding-block: 18px; font-size: .85rem; }
footer a { text-underline-offset: 4px; }
@media (max-width: 920px) {
  .hero-photo { background: linear-gradient(90deg, #0a2035 12%, #0a2035e6 45%, #0a20354d), url('hero.webp') 75% center / cover no-repeat; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; }
  .brand-svg, .brand img { height: 38px; width: auto; max-width: 165px; }
  .menu { display: block; border: 1px solid #a8c5c8; border-radius: 5px; padding: 8px 12px; color: var(--ink); background: white; font: inherit; font-weight: 700; }
  nav { display: none; position: absolute; background: white; top: 100%; left: 0; right: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); }
  nav.open { display: grid; gap: 0; }
  nav a { display: block; padding: 12px 6px; }
  .nav-cta { border: 0; }
  .hero-photo { background: linear-gradient(90deg, #0a2035ef, #0a203599), url('hero.webp') 67% center / cover no-repeat; }
  .hero-inner { padding-block: 69px; }
  h1 { font-size: clamp(2rem, 8vw, 3.5rem); overflow-wrap: anywhere; }
  .about, .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-copy { padding-top: 0; }
  .product { padding: 18px; }
}
@media (max-width: 410px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.inquiry { background: var(--pale); border-top: 1px solid var(--line); }
.inquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: start; gap: clamp(25px, 5vw, 72px); }
.inquiry-grid h2 + p { margin-top: 18px; }
.inquiry-grid > div > p:not(.kicker) { color: var(--muted); }
.inquiry-form { display: grid; gap: 17px; padding: clamp(16px, 3vw, 30px); border: 1px solid var(--line); background: white; border-radius: 9px; }
.inquiry-form label, .inquiry-form legend { font-weight: 700; }
.inquiry-fields, .inquiry-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 15px; }
.inquiry-form input:not([type=checkbox]), .inquiry-form textarea { width: 100%; border: 1px solid #a4bbc6; border-radius: 5px; padding: 9px; font: inherit; color: var(--ink); background: white; }
.inquiry-form textarea { display: block; resize: vertical; }
.inquiry-form input:focus-visible, .inquiry-form textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.inquiry-form fieldset { min-width: 0; margin: 0; padding: 9px 12px 12px; border: 1px solid var(--line); border-radius: 5px; }
.inquiry-options label { font-size: .92rem; font-weight: 500; display: flex; gap: 6px; align-items: baseline; }
.inquiry-options input { accent-color: var(--teal); }
.inquiry-form .hint { color: var(--muted); font-size: .85rem; font-weight: 400; margin: 0; }
.inquiry-form #product-hint { margin-bottom: 7px; }
.check-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.check-row #inquiry-answer { max-width: 75px; }
.plain-button { background: white; color: var(--teal); border: 1px solid var(--line); border-radius: 5px; padding: 8px 12px; font: inherit; cursor: pointer; }
.inquiry-form .button { justify-self: start; border: 0; cursor: pointer; }
.inquiry-form .button:disabled { opacity: .55; cursor: default; }
.inquiry-status { margin: 0; overflow-wrap: anywhere; }
.inquiry-status:empty { display: none; }
.inquiry-status[data-error] { color: #9c2626; }
.inbox { max-width: 800px; margin: 0 auto; padding: 28px 20px 70px; overflow-wrap: anywhere; }
.inbox li { margin-bottom: 12px; }
.inbox dt { margin-top: 12px; }
.inbox dd { white-space: pre-wrap; }
@media (max-width: 760px) { .inquiry-grid { grid-template-columns: 1fr; } }
@media (max-width: 450px) { .inquiry-fields, .inquiry-options { grid-template-columns: 1fr; } }
