/* MAT Surfboards USA */
:root {
  --ink: #0b2a3a;
  --ink-soft: #3b5566;
  --sand: #f6f4ee;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-deep: #0b5f59;
  --green: #4bc46a;
  --sky: #9fd4ff;
  --peri: #86a8ff;
  --sun: #ffd25a;
  --coral: #ff8a5b;
  --pink: #ffb3e6;
  --violet: #a06bff;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(11, 42, 58, .16);
  --display: "Fraunces", "Georgia", serif;
  --body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600;
  opacity: .75; margin-bottom: .6em;
}
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-sub { font-size: 1.1rem; color: var(--ink-soft); }
.section-sub a { color: var(--teal-deep); font-weight: 600; }
.text-link { font-weight: 600; color: var(--teal-deep); text-decoration: none; border-bottom: 2px solid currentColor; }
.text-link:hover { color: var(--teal); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; border-radius: 999px;
  padding: .9rem 1.6rem; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 22px rgba(11, 42, 58, .25); }
.btn-primary:hover { background: #123a4f; }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: rgba(11, 42, 58, .2); }
.btn-ghost:hover { background: #fff; }
.btn-small { padding: .55rem 1.1rem; font-size: .92rem; background: var(--ink); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 42, 58, .08);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--display); font-size: 1.15rem; }
.brand strong { letter-spacing: .04em; }
.brand em { font-style: normal; color: var(--teal); }
.brand-board { width: 22px; height: 22px; fill: var(--teal); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  background: linear-gradient(115deg, #16a39c 0%, #2fb590 45%, #5fca6e 100%);
  color: #fff; padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 60%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; position: relative; }
.logo-badge {
  position: relative; display: inline-grid; place-items: center;
  width: 300px; height: 122px; margin-bottom: 1.6rem; color: var(--ink);
  filter: drop-shadow(0 12px 24px rgba(11, 42, 58, .22));
}
.logo-board { position: absolute; inset: 0; width: 100%; height: 100%; fill: #fff; }
.logo-text { position: relative; display: grid; justify-items: center; padding-left: 22px; line-height: 1; }
.logo-mat { font-family: var(--display); font-size: 2.1rem; letter-spacing: .06em; font-weight: 700; }
.logo-sub { font-family: var(--display); font-size: 1rem; font-weight: 600; margin-top: .3rem; }
.notice {
  background: rgba(11, 42, 58, .28); border-left: 4px solid #fff; border-radius: 10px;
  padding: .8rem 1rem; font-size: 1rem; max-width: 36rem;
}
.hero .lead { font-size: 1.2rem; max-width: 34rem; opacity: .95; }
.hero .btn-primary { background: #fff; color: var(--ink); }
.hero .btn-primary:hover { background: #f1fff6; }
.hero .btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .26); }
.hero-contact { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .95rem; }
.hero-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.hero-contact a:hover { border-color: #fff; }
.hero-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* About */
.about { background: linear-gradient(120deg, #cdf5dc 0%, #b8e3f2 50%, #a9b9ff 100%); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: center; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.about h2 { color: #1d5f8f; }
.about-copy p { font-size: 1.08rem; color: #17344a; }
.about-copy a:not(.text-link) { color: #1d5f8f; font-weight: 600; }
.about-links { margin-top: 1.5rem; }

/* Surfboards */
.boards { background: linear-gradient(120deg, #ffe27a 0%, #ffb15c 55%, #ff9b4a 100%); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.boards h2, .boards h3 { color: #1d5f8f; }
.boards .section-sub { color: #3a3a3a; }
.boards .section-sub a { color: #1d5f8f; }
.board-groups { display: grid; gap: 1.6rem; margin-bottom: 2.5rem; }
.board-group { background: rgba(255, 255, 255, .55); border-radius: var(--radius); padding: 1.8rem 1.6rem 1.6rem; backdrop-filter: blur(4px); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.4rem; margin-bottom: 1.2rem; }
.group-head h3 { margin: 0; font-size: 1.7rem; }
.group-desc { margin: 0; font-size: 1rem; color: #4a4a4a; }
.tile-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.tile {
  display: grid; grid-template-rows: auto auto 1fr auto; text-decoration: none; height: 100%;
  background: rgba(255, 255, 255, .72); border-radius: 16px; padding: 1rem .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .9); transition: transform .15s, box-shadow .15s, background .15s;
}
.tile:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 14px 30px rgba(120, 60, 0, .18); }
.tile-media { display: grid; place-items: center; height: 190px; margin-bottom: .7rem; }
.tile-media img, .board-sil { height: 180px; width: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .18)); }
.board-sil { fill: #f7f7f4; stroke: rgba(29, 95, 143, .35); stroke-width: 2; }
.board-sil .board-stringer { stroke: rgba(29, 95, 143, .35); stroke-width: 1.5; fill: none; }
.tile-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: #1d5f8f; line-height: 1.15; margin-bottom: .35rem; }
.tile-blurb { font-size: .84rem; line-height: 1.4; color: #3a3a3a; }
.tile-waves { margin-top: .7rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #8a4b00; }

/* Testimonials */
.testimonials { background: linear-gradient(120deg, #fff6a8 0%, #ffd6df 55%, #f5b5ff 100%); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.testimonials h2 { color: #1d5f8f; }
.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.quotes li { background: rgba(255, 255, 255, .5); border: 2px solid #3a7fb4; border-radius: 18px; padding: 1.6rem 1.4rem; display: flex; align-items: center; }
.quotes blockquote { margin: 0; font-family: var(--display); font-size: 1.12rem; color: #1d5f8f; font-weight: 600; line-height: 1.4; }
.quotes blockquote p { margin: 0; }
.quotes blockquote p::before { content: "\201C"; }
.quotes blockquote p::after { content: "\201D"; }

/* Surf with us */
.surf { background: var(--sand); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-bottom: 1.6rem; }
.partner {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 6px 22px rgba(11, 42, 58, .08); transition: transform .15s, box-shadow .15s;
}
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.partner img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.partner-body { display: grid; gap: .3rem; padding: 1.3rem 1.4rem 1.5rem; }
.partner-body strong { font-family: var(--display); font-size: 1.35rem; }
.partner-body > span:nth-child(2) { color: var(--ink-soft); }
.partner-url { font-size: .85rem; font-weight: 600; color: var(--teal-deep); }
.partner-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partner-links a {
  display: grid; gap: .25rem; text-decoration: none; background: #fff; border-radius: 16px; padding: 1.1rem 1.2rem;
  border: 1px solid rgba(11, 42, 58, .08); height: 100%; transition: border-color .15s, transform .15s;
}
.partner-links a:hover { border-color: var(--teal); transform: translateY(-2px); }
.partner-links strong { color: var(--teal-deep); }
.partner-links span { font-size: .9rem; color: var(--ink-soft); }

/* Contact */
.contact { background: linear-gradient(120deg, #9b5cff 0%, #ff7fb0 50%, #ff8e4e 100%); color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 3rem 0 0; padding: 0; counter-reset: none; }
.steps li { display: grid; gap: .3rem; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); border-radius: 16px; padding: 1.2rem 1.2rem 1.3rem; }
.steps strong { font-family: var(--display); font-size: 1.15rem; }
.steps li > span:last-child { font-size: .93rem; opacity: .92; }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; margin-bottom: .3rem; }
.contact-copy p { font-size: 1.08rem; opacity: .95; max-width: 36rem; }
.contact-list { display: grid; gap: .4rem; margin: 1.4rem 0; font-size: 1.05rem; }
.contact-list div { display: grid; grid-template-columns: 5.5rem 1fr; }
.contact-list dt { opacity: .8; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.contact-list a:hover { border-color: #fff; }
.contact .btn-primary { background: #fff; color: var(--ink); }
.contact .btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .55); }
.contact .btn-ghost:hover { background: rgba(255, 255, 255, .26); }
.social-row { display: flex; gap: .8rem; }
.social-row a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); color: #fff; transition: background .15s; }
.social-row a:hover { background: rgba(255, 255, 255, .2); }
.social-row svg { width: 22px; height: 22px; }
.contact-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .85); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand { font-family: var(--display); font-size: 1.3rem; color: #fff; margin-bottom: .4rem; }
.footer-head { font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: .6rem; }
.site-footer ul li { margin: .3rem 0; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; opacity: .75; }

/* Responsive */
@media (max-width: 1000px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .partner-links { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { order: 2; max-width: 420px; }
  .contact-photo { max-width: 420px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: .2rem;
    background: var(--sand); padding: 1rem 4vw 1.4rem; border-bottom: 1px solid rgba(11, 42, 58, .1);
  }
  .nav.open { display: flex; }
  .nav a { padding: .55rem 0; font-size: 1.05rem; }
  .nav .btn-small { margin-top: .6rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .quotes, .partner-grid, .partner-links, .footer-grid { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .tile-media { height: 160px; }
  .tile-media img, .board-sil { height: 150px; }
  .logo-badge { width: 250px; height: 102px; }
  .logo-mat { font-size: 1.8rem; }
  .contact-list div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile, .partner, .partner-links a { transition: none; }
}
