/* ACC BOATS - style.css */
:root {
  --paper: #eeeae0;
  --paper-2: #e2dccd;
  --ink: #1a1d1b;
  --muted: #5f6862;
  --accent: #1f4a3c;
  --accent-light: #8fb7a5;
  --line: rgba(26, 29, 27, .18);
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --max: 1200px;
  --ease: .25s ease;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Buttons and links */
.btn { display: inline-block; background: var(--accent); color: var(--paper); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .9rem 1.5rem; border: 1px solid var(--accent); border-radius: 2px; cursor: pointer; transition: background var(--ease), color var(--ease); }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn-small { padding: .55rem 1rem; font-size: .85rem; }
.text-link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size var(--ease), color var(--ease); }
.text-link:hover { background-size: 0 1px; color: var(--accent); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background var(--ease), border-color var(--ease); border-bottom: 1px solid transparent; }
.bar { max-width: 1400px; margin: 0 auto; padding: 1.4rem var(--pad); display: flex; align-items: center; justify-content: space-between; transition: padding var(--ease); }
.site-header.scrolled { background: rgba(238, 234, 224, .96); border-color: var(--line); }
.site-header.scrolled .bar { padding-top: .8rem; padding-bottom: .8rem; }
.logo { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; letter-spacing: .02em; }
.logo span { color: var(--accent); margin-left: .3em; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform var(--ease), top var(--ease); }
.menu-btn i:first-child { top: 17px; }
.menu-btn i:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 100vh; min-height: 100svh; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: 8rem var(--pad) 4rem; max-width: 1400px; margin: 0 auto; }
.tag { display: inline-block; font-size: .9rem; font-weight: 500; color: var(--accent); border-left: 3px solid var(--accent); padding-left: .75rem; margin-bottom: 1.75rem; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -.02em; margin-bottom: 1.75rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin-bottom: 2.25rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; max-height: 76vh; }
.hero-note { font-size: .8rem; color: var(--muted); margin: .9rem 0 0 1.5rem; max-width: 18rem; }
.hero-note strong { color: var(--ink); font-weight: 600; }
.hero-text > * { animation: rise .8s ease both; }
.hero-text > :nth-child(2) { animation-delay: .1s; }
.hero-text > :nth-child(3) { animation-delay: .2s; }
.hero-text > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* About */
.about { padding: var(--section) 0; border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2rem; row-gap: 3rem; }
.about h2 { grid-column: 1 / 7; align-self: start; }
.about-copy { grid-column: 7 / 13; color: var(--muted); }
.about-copy p:first-child { color: var(--ink); font-size: 1.2rem; }
.about-img { grid-column: 1 / 6; margin: 0; }
.about-img svg { width: 100%; height: auto; }
.about-img figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.statement { grid-column: 7 / 13; align-self: end; margin: 0; padding: 0 0 0 1.75rem; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.25; margin-top: -4rem; }
.facts { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: .2rem 0 0; font-weight: 600; }

/* Services */
.services { background: var(--paper-2); padding: var(--section) 0; }
.services-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 6rem); }
.services-head { position: sticky; top: 7rem; align-self: start; }
.services-head h2 { margin-bottom: 1.25rem; }
.services-head p { color: var(--muted); max-width: 22rem; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: 3rem 2.5rem 1fr; gap: 1.25rem; align-items: start; padding: 1.9rem 0; border-bottom: 1px solid var(--line); transition: padding var(--ease), background var(--ease); }
.service:hover { padding-left: 1rem; background: rgba(31, 74, 60, .06); }
.num { font-family: var(--serif); color: var(--accent); font-size: 1.1rem; padding-top: .15rem; }
.service svg { width: 2.5rem; height: 2.5rem; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.service h3 { margin-bottom: .4rem; }
.service p { color: var(--muted); margin: 0; max-width: 34rem; }
.service:nth-child(even) { margin-left: clamp(0rem, 4vw, 3rem); }

/* Approach */
.approach { background: var(--ink); color: var(--paper); padding: var(--section) 0; }
.approach h2 { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); max-width: 14ch; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(238, 234, 224, .3); }
.benefit { padding: 2rem 1.75rem 0 0; }
.benefit + .benefit { padding-left: 1.75rem; border-left: 1px solid rgba(238, 234, 224, .2); }
.big { display: block; font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1; color: var(--accent-light); margin-bottom: 1.5rem; }
.benefit h3 { margin-bottom: .75rem; }
.benefit p { color: rgba(238, 234, 224, .72); font-size: .98rem; }

/* Contact */
.contact { padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p { color: var(--muted); max-width: 26rem; }
address { font-style: normal; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink); }
address a { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
.form { background: #f7f4ec; border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.75rem); }
.field { margin-bottom: 1.4rem; }
label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .4rem; }
.opt { font-weight: 400; color: var(--muted); }
input, textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: .55rem 0; transition: border-color var(--ease); }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.field.invalid input, .field.invalid textarea { border-color: #9b2c1f; }
.err { display: block; color: #9b2c1f; font-size: .82rem; min-height: 0; margin-top: .3rem; }
.status { margin: 1.25rem 0 0; font-weight: 500; }
.status.ok { color: var(--accent); }
.status.bad { color: #9b2c1f; }

/* Footer */
.footer { background: var(--paper-2); padding: 4rem 0 2rem; border-top: 1px solid var(--line); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 2.5rem; }
.footer p { color: var(--muted); max-width: 22rem; margin-top: 1rem; }
.footer h4 { font-family: var(--sans); font-size: .95rem; font-weight: 600; margin-bottom: .9rem; }
.footer nav a, .footer-grid > div a:not(.logo) { display: block; text-decoration: none; margin-bottom: .45rem; color: var(--muted); transition: color var(--ease); }
.footer a:not(.logo):hover { color: var(--accent); }
.footer .copy { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; max-width: var(--max); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Tablet */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 7rem; }
  .hero-visual { max-width: 30rem; }
  .about h2, .about-copy, .about-img, .statement, .facts { grid-column: 1 / -1; }
  .about-img { max-width: 24rem; }
  .statement { margin-top: 0; }
  .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-head { position: static; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit { padding-bottom: 2.5rem; }
  .benefit:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: flex-start; gap: 1.25rem; background: var(--paper); padding: 5.5rem var(--pad) 2rem; border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform .3s ease; z-index: -1; }
  .nav.open { transform: none; }
  .nav a:not(.btn) { font-size: 1.4rem; font-family: var(--serif); }
  .site-header { background: var(--paper); }
  .service { grid-template-columns: 2.25rem 1fr; }
  .service svg { display: none; }
  .service:nth-child(even) { margin-left: 0; }
  .facts { grid-template-columns: 1fr; gap: 1rem; }
  .benefits { grid-template-columns: 1fr; }
  .benefit + .benefit, .benefit:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid rgba(238, 234, 224, .2); margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
