/* Maxido Golf — B2B site
   ---------------------------------------------------------------- */

:root {
  --ink:        #111e33;
  --ink-deep:   #0a1221;
  --ink-soft:   #33415a;
  --slate:      #5a6472;
  --slate-lite: #8a919c;
  --base:       #f6f6f5;
  --plate:      #ffffff;
  --line:       #e3e4e2;
  --line-dark:  #24314a;
  --brass:      #9c7c38;
  --brass-lite: #c2a86a;
  --serif: "Marcellus", "Hoefler Text", Georgia, serif;
  --sans:  "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: .002em;
  margin: 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 246, 245, .94);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.head-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 30px; height: auto; color: var(--ink); display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-size: 20px; letter-spacing: .16em;
  color: var(--ink);
}
.brand-sub {
  font-size: 9.5px; letter-spacing: .3em; color: var(--slate-lite);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a {
  text-decoration: none; font-size: 14.5px; color: var(--ink-soft);
  padding: 6px 0; position: relative; white-space: nowrap;
  transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  width: 42px; height: 42px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 17px; height: 1.4px; background: var(--ink);
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute;
}
.nav-toggle span::before { transform: translateY(-5.5px); }
.nav-toggle span::after  { transform: translateY(5.5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 14.5px; letter-spacing: .01em;
  padding: 15px 30px; text-decoration: none; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--ink-deep); border-color: var(--ink-deep); }

.btn-ghost { background: transparent; color: var(--ink); border-color: #c9cbc8; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }

/* ---------- hero ---------- */

.hero { padding: clamp(44px, 6vw, 84px) 0 clamp(30px, 3.5vw, 52px); }
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 76px); align-items: center;
}

.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--slate); margin-bottom: 26px;
}
.hero-kicker::before {
  content: ""; width: 40px; height: 1px; background: var(--brass);
  flex: none;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  margin-bottom: 26px;
}
.hero-lede {
  font-size: clamp(16px, 1.25vw, 18px);
  color: var(--slate); max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.creds {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: clamp(20px, 3vw, 44px); justify-content: start;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.creds div { min-width: 0; }
.creds dt {
  font-family: var(--serif); font-size: 27px; color: var(--ink);
  line-height: 1; margin-bottom: 8px;
}
.creds dd { margin: 0; font-size: 13px; color: var(--slate); line-height: 1.4; }

.hero-figure { position: relative; }
.hero-figure::before {
  content: ""; position: absolute; inset: 26px -26px 26px 26px;
  background: var(--ink); z-index: 0;
}
.hero-figure img {
  position: relative; z-index: 1; width: 100%;
  border: 1px solid var(--line); background: #fff;
}
.hero-cap {
  position: relative; z-index: 2; margin-top: 34px;
  font-size: 12.5px; color: var(--slate); text-align: right;
}

/* ---------- section furniture ---------- */

.sect { padding: clamp(56px, 8vw, 108px) 0; }

.sect-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-bottom: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--line); padding-bottom: 22px;
}
.sect-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.sect-head p { color: var(--slate); font-size: 15px; max-width: 42ch; margin: 0; }

/* ---------- category cards ---------- */

.cats { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.cats-row-2 { grid-template-columns: repeat(2, 1fr); }
.cats-row-3 { grid-template-columns: repeat(3, 1fr); margin-top: clamp(14px, 1.6vw, 22px); }

.cat-card {
  display: block; text-decoration: none; background: var(--plate);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.cat-media { overflow: hidden; background: #fff; }
.cat-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: contain;
  padding: clamp(14px, 2.5vw, 34px);
  transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.cats-row-2 .cat-media img { aspect-ratio: 16 / 10; }
.cat-card:hover .cat-media img { transform: scale(1.045); }

.cat-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; padding: 20px clamp(16px, 2vw, 26px) 24px;
  border-top: 1px solid var(--line); position: relative;
}
.cat-foot::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px;
  width: 100%; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.cat-card:hover .cat-foot::after { transform: scaleX(1); }
.cat-foot h3 { font-size: clamp(20px, 2vw, 26px); }
.cat-foot span { font-size: 13px; color: var(--slate-lite); white-space: nowrap; }

/* ---------- about ---------- */

.about { background: var(--ink); color: #e9ecf2; }
.about h2, .about h3 { color: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px); align-items: start;
}
.about-statement {
  font-family: var(--serif); font-size: clamp(26px, 3vw, 40px);
  line-height: 1.24; color: #fff; margin: 0;
}
.about-statement + .about-note {
  margin-top: 28px; font-size: 14px; color: #9fabc0; max-width: 34ch;
}
.about-body p { color: #b9c2d1; font-size: 15.5px; }

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 40px; padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}
.about-stats dt {
  font-family: var(--serif); font-size: 30px; color: #fff; line-height: 1;
  margin-bottom: 8px;
}
.about-stats dd { margin: 0; font-size: 13px; color: #93a0b5; }

.caps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.caps li {
  padding: 13px 0; border-top: 1px solid var(--line-dark);
  font-size: 14.5px; color: #cbd3df;
  display: flex; justify-content: space-between; gap: 16px;
}
.caps li span { color: #8d9ab0; font-size: 13px; text-align: right; }

/* ---------- page banner ---------- */

.banner { padding: clamp(40px, 5vw, 70px) 0 clamp(28px, 3.5vw, 44px); }
.crumbs { font-size: 13px; color: var(--slate-lite); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { margin: 0 8px; }

.banner h1 { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 18px; }
.banner-lede { color: var(--slate); max-width: 58ch; font-size: 16px; }
.banner-meta {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--slate-lite);
}

/* ---------- product grid ---------- */

.grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  padding-bottom: clamp(56px, 8vw, 104px);
}
.tile {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--plate); border: 1px solid var(--line);
}
.tile-media { overflow: hidden; }
.tile-media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
  padding: clamp(10px, 2vw, 24px);
  transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-body {
  padding: 18px clamp(14px, 1.6vw, 22px) 22px;
  border-top: 1px solid var(--line); position: relative;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.tile-body::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.tile:hover .tile-body::after { transform: scaleX(1); }
.tile-name { font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.tile-col { font-size: 13.5px; color: var(--slate); }
.tile-ref { font-size: 12px; color: var(--slate-lite); margin-top: auto; padding-top: 10px; }

/* ---------- product detail ---------- */

.pdp { padding-bottom: clamp(56px, 8vw, 100px); }
.pdp-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 5vw, 72px); align-items: start;
}
.pdp-media {
  background: var(--plate); border: 1px solid var(--line);
  padding: clamp(16px, 3vw, 46px); position: sticky; top: 102px;
}
.pdp-media img { width: 100%; }

.pdp-cat { font-size: 13px; color: var(--brass); margin-bottom: 14px; }
.pdp h1 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 12px; }
.pdp-ref { font-size: 13px; color: var(--slate-lite); margin-bottom: 26px; }
.pdp-blurb { color: var(--slate); font-size: 16px; max-width: 52ch; }

.specs { margin: 34px 0 0; border-top: 1px solid var(--line); }
.specs h2 { font-size: 15px; font-family: var(--sans); font-weight: 500; padding-top: 22px; }
.specs dl {
  margin: 14px 0 0; display: grid; grid-template-columns: minmax(120px, 34%) 1fr;
}
.specs dt {
  font-size: 13.5px; color: var(--slate-lite);
  padding: 12px 16px 12px 0; border-top: 1px solid var(--line);
}
.specs dd {
  margin: 0; font-size: 14.5px; color: var(--ink-soft);
  padding: 12px 0; border-top: 1px solid var(--line);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li {
  list-style: none; font-size: 13px; color: var(--ink-soft);
  border: 1px solid var(--line); padding: 7px 14px; background: #fff;
}

.pdp-cta {
  margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px;
}
.pdp-note { margin-top: 18px; font-size: 13px; color: var(--slate-lite); max-width: 44ch; }

/* ---------- related ---------- */

.related { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0; }
.related h2 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 30px; }
.related .grid { grid-template-columns: repeat(4, 1fr); padding-bottom: 0; }

/* ---------- prose pages ---------- */

.prose { max-width: 68ch; padding-bottom: clamp(56px, 8vw, 100px); }
.prose h2 {
  font-size: clamp(22px, 2.4vw, 30px); margin: 46px 0 16px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p { color: var(--slate); }
.prose ul { color: var(--slate); padding-left: 20px; }
.prose li { margin-bottom: 8px; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px); padding-bottom: clamp(56px, 8vw, 100px);
}
.contact-card { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 38px); }
.contact-card h2 { font-size: 24px; margin-bottom: 20px; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; row-gap: 14px; }
.contact-card dt { font-size: 13px; color: var(--slate-lite); }
.contact-card dd { margin: 0; font-size: 15px; }
.contact-card a { color: var(--ink); }

/* ---------- footer ---------- */

.site-foot { background: var(--ink-deep); color: #aab4c4; }
.foot-grid {
  display: grid; grid-template-columns: 1.3fr .8fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(48px, 6vw, 82px) 0 clamp(34px, 4vw, 52px);
}
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.foot-brand svg { width: 30px; color: #fff; }
.foot-brand svg path[stroke] { stroke: var(--ink-deep); }
.foot-brand svg g path { fill: var(--ink-deep); }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub { color: #7b8798; }

.foot-grid h3 {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: #fff; letter-spacing: .04em; margin-bottom: 20px;
}
.foot-addr { font-style: normal; font-size: 14.5px; line-height: 1.85; }
.foot-addr a { color: #aab4c4; text-decoration: none; }
.foot-addr a:hover { color: #fff; }

.foot-social { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-social a {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; font-size: 14.5px; color: #aab4c4;
  transition: color .2s ease;
}
.foot-social a:hover { color: #fff; }
.foot-social svg { width: 16px; height: 16px; flex: none; fill: currentColor; }

.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.foot-links li { margin-bottom: 12px; break-inside: avoid; }
.foot-links a { text-decoration: none; font-size: 14.5px; color: #aab4c4; }
.foot-links a:hover { color: #fff; }

.foot-bar {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  justify-content: space-between; font-size: 12.5px; color: #78849a;
}

/* ---------- motion / responsive ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 1080px) {
  .related .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--base); border-bottom: 1px solid var(--line);
    padding: 6px var(--gut) 18px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }

  .hero-grid, .about-grid, .pdp-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure::before { display: none; }
  .pdp-media { position: static; }
  .cats-row-2, .cats-row-3 { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .related .grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .sect-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cats-row-2, .cats-row-3 { grid-template-columns: 1fr; }
  .grid, .related .grid { grid-template-columns: repeat(2, 1fr); }
  .tile-name { font-size: 16px; }
  .creds { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about-stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { columns: 2; }
  .specs dl { grid-template-columns: 1fr; }
  .specs dt { padding-bottom: 0; border-top: 1px solid var(--line); }
  .specs dd { padding-top: 4px; border-top: 0; }
  .btn { flex: 1 1 100%; }
}
