/* Ample Bros Holdings. House colours: brass on ink, cream. Each brand panel
   uses that brand's own colours and type, taken from its live site. */
:root {
  --ink: #14130f;
  --ink-2: #1d1b16;
  --brass: #c9a046;
  --brass-hi: #ecd08a;
  --brass-text: #8a6a22;
  --cream: #f6f1e6;
  --stone: #e8e0cf;
  --muted-d: #b9b1a1;
  --slab: "Zilla Slab", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --wh-navy: #003b6f;
  --wh-blue: #0a6ab4;
  --wh-gold: #e0a800;
  --grub-canvas: #1b1626;
  --grub-fill: #2a2236;
  --grub-lime: #c9f24c;
  --grub-ink: #f5f2f8;
  --lawn-lime: #b7f04a;
  --lawn-ink: #0d120e;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { font: 400 17px/1.6 var(--sans); color: var(--cream); background: var(--ink); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.nb { white-space: nowrap; }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-brass { background: linear-gradient(180deg, #d9b45e, var(--brass)); color: var(--ink); box-shadow: 0 10px 30px -10px #c9a04699, inset 0 1px 0 #fff5; }
.btn-ghost { border: 1px solid #c9a04666; color: var(--cream); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-hi); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: #14130fcc; backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-color: #c9a0461f; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 600 18px var(--slab); color: var(--cream); }
.nav nav { display: flex; align-items: center; gap: 6px; }
.nav nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: #e6dfcf; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav nav a:hover { color: var(--brass-hi); background: #ffffff0d; }
.nav nav .nav-pill { border: 1px solid #c9a04666; color: var(--brass-hi); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 700px at 70% 40%, #2a2518 0%, var(--ink) 62%); }
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(70px); opacity: .55; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s var(--ease) infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: 18%; background: radial-gradient(circle, #c9a04680, transparent 65%); }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; left: 62%; top: 46%; background: radial-gradient(circle, #8a6a2299, transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 18%; top: 58%; background: radial-gradient(circle, #5a4a2a66, transparent 65%); animation-duration: 34s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6vw, 4vh) scale(1.12); } 100% { transform: translate(4vw, -5vh) scale(.94); } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #c9a04666, transparent); }

.hero > .wrap { width: 100%; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding-top: 120px; padding-bottom: 40px; }
.hero .kicker { margin-bottom: 22px; }
.hero h1 { font: 600 clamp(44px, 5.4vw, 80px)/1.02 var(--slab); letter-spacing: -.02em; color: var(--cream); text-wrap: balance; }
.hero h1 .hl { white-space: nowrap; background: linear-gradient(100deg, #b8862e, var(--brass-hi) 45%, var(--brass) 70%, #a67a2a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 560px; margin-top: 26px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted-d); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-crest { position: relative; display: grid; place-items: center; }
.halo { position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 20%, #c9a04633 30%, transparent 45% 70%, #ecd08a29 82%, transparent 92%);
  -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%, #000 56%, transparent 57%, transparent 68%, #000 69%, #000 69.6%, transparent 70.2%);
          mask: radial-gradient(circle, transparent 54%, #000 55%, #000 56%, transparent 57%, transparent 68%, #000 69%, #000 69.6%, transparent 70.2%);
  animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.crest-wrap { position: relative; width: min(380px, 70vw); filter: drop-shadow(0 30px 60px #00000080) drop-shadow(0 0 40px #c9a04633); }
.crest-wrap img { width: 100%; height: auto; }
.shine { position: absolute; inset: 0;
  -webkit-mask: url(/logo/lockup-brass.svg) center / 100% 100% no-repeat; mask: url(/logo/lockup-brass.svg) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, #fff6d6 48%, #ffffff 50%, #fff6d6 52%, transparent 62%) 0 0 / 300% 100%;
  animation: sweep 6.5s var(--ease) infinite; mix-blend-mode: screen; }
@keyframes sweep { 0%, 35% { background-position: 120% 0; } 75%, 100% { background-position: -40% 0; } }

.hero-foot { padding-bottom: 40px; }
.chips-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8f8778; margin-bottom: 12px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; text-decoration: none;
  background: #ffffff0a; border: 1px solid #ffffff14; font-size: 14px; font-weight: 500; color: #e6dfcf; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.chips a:hover { background: #ffffff14; border-color: #c9a04666; transform: translateY(-2px); }
.chips img { width: 28px; height: 28px; border-radius: 8px; background: #fff; object-fit: cover; }

/* Brand panels: shared */
.brand { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 150px) 0; isolation: isolate; }
.brand-in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.num { font: 600 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; display: flex; gap: 14px; align-items: center; margin-bottom: 28px; }
.num span { opacity: .7; letter-spacing: .14em; }
.num::after { content: ""; flex: 0 0 60px; height: 1px; background: currentColor; opacity: .35; order: 1; }
.brand-id { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.brand-id img { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 10px 30px -12px #0008; }
.brand h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -.02em; }
.line { font: 600 clamp(20px, 2.1vw, 26px)/1.3 var(--sans); margin-bottom: 14px; letter-spacing: -.01em; }
.desc { font-size: 17px; line-height: 1.65; max-width: 520px; opacity: .82; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.actions .url { font-size: 14px; font-weight: 500; opacity: .7; text-decoration: none; }
a.url:hover { opacity: 1; }

/* 01 Warehouse */
.brand-wh { background: radial-gradient(900px 600px at 85% 30%, #0a5ea3 0%, transparent 60%), linear-gradient(160deg, #002a50, var(--wh-navy) 60%, #00315c); color: #fff; }
.brand-wh::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18;
  background-image: linear-gradient(#ffffff14 1px, transparent 1px), linear-gradient(90deg, #ffffff14 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); mask: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); }
.brand-wh .num { color: var(--wh-gold); }
.brand-wh .brand-id img { border-radius: 50%; background: #fff; padding: 4px; }
.wh-name { font-family: "Poppins", var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.wh-name em { display: block; font-style: normal; font-size: .48em; letter-spacing: .32em; color: #9fd0ff; margin-top: 10px;
  padding-top: 12px; border-top: 4px solid var(--wh-gold); width: fit-content; }
.btn-wh { background: var(--wh-gold); color: #0b1a2b; box-shadow: 0 12px 30px -12px #e0a800aa; }
.btn-wh:hover { background: #f2bb12; }
.wh-stage { position: relative; height: 460px; }
.tile { position: absolute; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px -24px #000a, 0 0 0 1px #ffffff22;
  transition: transform .5s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: contain; }
.t1 { width: 62%; height: 62%; left: 4%; top: 4%; transform: rotate(-4deg); }
.t2 { width: 44%; height: 50%; right: 2%; top: 0; transform: rotate(5deg); }
.t3 { width: 54%; height: 44%; right: 10%; bottom: 0; transform: rotate(-2deg); }
.wh-stage:hover .t1 { transform: rotate(-6deg) translate(-8px, -6px); }
.wh-stage:hover .t2 { transform: rotate(8deg) translate(8px, -8px); }
.wh-stage:hover .t3 { transform: rotate(0) translateY(8px); }

/* 02 Grub */
.brand-grub { background: radial-gradient(800px 600px at 80% 60%, #3a2a57 0%, transparent 60%), var(--grub-canvas); color: var(--grub-ink); }
.brand-grub .num { color: var(--grub-lime); }
.grub-name { font-family: "Bricolage Grotesque", var(--sans); font-weight: 800; font-size: clamp(56px, 7vw, 96px) !important; letter-spacing: -.04em; }
.brand-grub .line { color: var(--grub-lime); }
.btn-grub { background: var(--grub-lime); color: #140f1c; box-shadow: 0 12px 30px -12px #c9f24caa; }
.btn-grub:hover { background: #d8ff63; }
.brand-grub .brand-in { grid-template-columns: 1fr 1.05fr; }

/* Phones */
.phones { position: relative; height: 600px; perspective: 1400px; }
.phone { position: absolute; top: 50%; left: 50%; width: 236px; aspect-ratio: 780 / 1597; border-radius: 40px; padding: 9px;
  background: linear-gradient(145deg, #3a3542, #121016); box-shadow: 0 40px 80px -30px #000c, inset 0 0 0 1px #ffffff22, 0 0 0 1px #00000066;
  transition: transform .6s var(--ease); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 20px; border-radius: 12px; background: #000; transform: translateX(-50%); z-index: 1; }
.p-mid { transform: translate(-50%, -50%); z-index: 2; }
.p-left { transform: translate(-112%, -46%) rotate(-8deg) scale(.88); filter: brightness(.82); }
.p-right { transform: translate(12%, -46%) rotate(8deg) scale(.88); filter: brightness(.82); }
.phones:hover .p-left { transform: translate(-122%, -48%) rotate(-11deg) scale(.9); }
.phones:hover .p-right { transform: translate(22%, -48%) rotate(11deg) scale(.9); }
.phones:hover .p-mid { transform: translate(-50%, -53%); }

/* 03 LawnHQ */
.brand-lawn { color: #fff; background: var(--lawn-ink); }
.lawn-bg { position: absolute; inset: 0; z-index: -1; }
.lawn-bg img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0)); }
.lawn-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0d120ef2 0%, #0d120ecc 42%, #0d120e40 75%, #0d120e66 100%), linear-gradient(0deg, #0d120ecc, transparent 40%); }
.brand-lawn .num { color: var(--lawn-lime); }
.lawn-name { font-family: "Archivo", var(--sans); font-weight: 850; font-stretch: 125%; letter-spacing: -.03em; }
.lawn-name em { font-style: normal; color: var(--lawn-lime); }
.brand-lawn .line { color: var(--lawn-lime); }
.btn-lawn { background: var(--lawn-lime); color: var(--lawn-ink); box-shadow: 0 12px 30px -12px #b7f04aaa; }
.btn-lawn:hover { background: #c8ff5e; }
.phones-two .phone { aspect-ratio: 640 / 1423; }
.phones-two .p-left { transform: translate(-96%, -44%) rotate(-7deg) scale(.9); }
.phones-two .p-mid { transform: translate(-22%, -52%) rotate(3deg); }
.phones-two:hover .p-left { transform: translate(-104%, -46%) rotate(-10deg) scale(.92); }
.phones-two:hover .p-mid { transform: translate(-18%, -56%) rotate(4deg); }

/* Company */
.company { position: relative; overflow: hidden; background: var(--cream); color: var(--ink); padding: clamp(80px, 10vw, 130px) 0; }
.co-watermark { position: absolute; right: -60px; top: 50%; width: 460px; height: auto; transform: translateY(-50%); opacity: .09; pointer-events: none; }
.co-in > *, .brand-in > *, .hero-in > * { min-width: 0; }
.co-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.company .kicker { color: var(--brass-text); margin-bottom: 18px; }
.company h2 { font: 600 clamp(36px, 4.6vw, 60px)/1.05 var(--slab); letter-spacing: -.02em; }
.co-mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font: 600 clamp(18px, 2vw, 24px)/1.3 var(--sans);
  color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brass); padding-bottom: 6px; transition: color .2s, gap .25s var(--ease); }
.co-mail:hover { color: var(--brass-text); gap: 18px; }
.company dl { background: #fff; border-radius: 24px; padding: 8px 28px; box-shadow: 0 1px 0 #0000000d, 0 30px 60px -36px #14130f66; }
.company dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--stone); }
.company dl div:last-child { border-bottom: 0; }
.company dt { color: #6b665b; font-size: 15px; }
.company dd { font-weight: 600; }
.company dd a { color: var(--brass-text); }

/* Footer */
.foot { background: var(--ink); border-top: 1px solid #c9a0461f; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 28px; font-size: 14px; color: #a39b8b; flex-wrap: wrap; }
.foot-in img { width: 150px; height: auto; }

/* Reveal on scroll (site.js adds .in); visible by default without JS */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { transition-delay: .08s; }
.js .hero .reveal:nth-child(3) { transition-delay: .16s; }
.js .hero .reveal:nth-child(4) { transition-delay: .24s; }
.js .hero-crest.reveal { transition-delay: .2s; transform: scale(.94); }

@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; text-align: left; gap: 40px; padding-top: 110px; }
  .hero-crest { order: -1; justify-self: start; }
  .crest-wrap { width: min(220px, 52vw); }
  .halo { width: 150%; }
  .brand-in, .brand-grub .brand-in, .co-in { grid-template-columns: 1fr; gap: 48px; }
  .wh-stage { height: 380px; max-width: 560px; }
  .phones { height: 520px; }
  .nav nav a:not(.nav-pill) { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav-mark span { display: none; }
  .hero h1 { font-size: 44px; }
  .hero h1 span { white-space: normal; }
  .hero-foot { padding-top: 8px; }
  .brand-id img { width: 52px; height: 52px; }
  .wh-stage { height: 300px; }
  .phones { height: 440px; }
  .phone { width: 180px; border-radius: 32px; padding: 7px; }
  .phone img { border-radius: 26px; }
  .phone::before { top: 14px; height: 15px; }
  .company dl { padding: 4px 20px; }
  .company dl div { grid-template-columns: 96px 1fr; }
  .co-watermark { width: 300px; right: -90px; }
  .co-mail { font-size: 16px; gap: 8px; }
  .cta { margin-bottom: 8px; }
  .foot-in { padding: 28px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
