/* Alpha Peak Cleaning Services — one stylesheet. */
:root {
  /* Brand: the three colours of the logo on the navy of the business card. */
  --bg: #0d1320;             /* card navy; never pure black */
  --panel: #141c2d;
  --panel-2: #1b2539;
  --line: rgba(190, 215, 240, .12);
  --fg: #eef3f8;
  --mute: #93a1b5;
  --green: #2cd3a3;          /* measured from the logo */
  --blue: #0280ce;
  --sky: #92c9fc;
  --accent: var(--green);
  --accent-ink: #0d1320;
  --warn: #ffd27a;
  --display: 'Lexend', system-ui, sans-serif;               /* the geometric "Alpha Peak" wordmark */
  --serif: 'Cormorant Garamond', Georgia, serif;             /* the business card: name, role, contacts */
  --pad: clamp(16px, 5vw, 72px);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 300 16px/1.65 var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-variant-numeric: lining-nums; }
/* Cormorant only has old-style figures: numbers go in Lexend */
.label b, .hero-strip b, .service .num, .why .n { font-family: var(--display) !important; font-weight: 500 !important; letter-spacing: .08em !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.mono, .label { font: 600 13px var(--serif); letter-spacing: .26em; text-transform: uppercase; }
.label { color: var(--mute); margin: 0 0 20px; display: flex; gap: 12px; align-items: center; }
.label b { color: var(--accent); font-weight: 600; }
.label::after { content: ''; width: 56px; height: 1px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.hl { color: var(--accent); }
.placeholder { outline: 1px dashed var(--warn); outline-offset: 3px; color: var(--warn); font: 400 12px var(--display); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 26px; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font: 500 14px var(--display); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); background: #4be0b6; border-color: #4be0b6; }
.btn-ghost { background: transparent; color: var(--fg); border-color: rgba(238,243,248,.35); }
.btn-ghost:hover { background: rgba(238,243,248,.08); border-color: rgba(238,243,248,.6); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); transition: background .3s, padding .3s; }
.top.scrolled { background: rgba(13,19,32,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .sym { height: 40px; width: auto; }
.logo span { display: flex; flex-direction: column; gap: 3px; }
.logo span img { height: 17px; width: auto; }
.logo small { font: 500 12px var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--sky); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font: 400 14px var(--display); text-decoration: none; color: var(--mute); transition: color .2s; }
.nav a:hover { color: var(--fg); }
.menu { display: none; margin-left: auto; background: none; border: 0; width: 36px; height: 36px; position: relative; cursor: pointer; }
.menu i { position: absolute; left: 7px; right: 7px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.menu i:first-child { top: 14px; } .menu i:last-child { top: 21px; }
.menu[aria-expanded="true"] i:first-child { top: 17px; transform: rotate(45deg); }
.menu[aria-expanded="true"] i:last-child { top: 17px; transform: rotate(-45deg); }

/* Hero: the photo fills the first screen, the card's navy over it */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(32px, 6vh, 64px); padding: 120px var(--pad) clamp(32px, 6vh, 64px); }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--panel); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,19,32,.95), rgba(13,19,32,.72) 42%, rgba(13,19,32,.15)), linear-gradient(to bottom, rgba(13,19,32,.6), transparent 24%, transparent 62%, var(--bg)); }
.hero > *:not(.hero-media) { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(52px, 8vw, 132px); margin: 0; font-weight: 500; }
.hero h1 span { background: linear-gradient(100deg, var(--green) 10%, var(--sky) 55%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .label { color: #c5d1e0; }
.hero .lead { font-size: clamp(17px, 1.6vw, 21px); color: #c5d1e0; margin: 26px 0 34px; max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-strip { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 36px; border-top: 1px solid var(--line); font: 600 14px var(--serif); letter-spacing: .22em; text-transform: uppercase; color: #c5d1e0; }
.hero-strip b { color: var(--accent); margin-right: 10px; }

/* Sections */
section.block { position: relative; padding: clamp(80px, 12vh, 150px) var(--pad); border-top: 1px solid var(--line); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 6vh, 64px); }
.head h2, .quote h2 { font-size: clamp(42px, 6vw, 92px); margin: 0; }
.head > p { max-width: 42ch; color: var(--mute); margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 28px; display: flex; flex-direction: column; }
.service .ph { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--panel-2); margin-bottom: 22px; }
.service .ph img { width: 100%; height: 100%; object-fit: cover; }
.service .pattern { background: var(--panel-2) url(../brand/pattern.svg) 0 0 / 60px auto; display: grid; place-items: center; }
.service .pattern::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, var(--panel-2) 18%, rgba(27,37,57,.82) 60%, rgba(27,37,57,.55)); }
.service .pattern .mark { position: relative; width: 34%; height: auto; }
.service .pattern .placeholder { position: absolute; left: 12px; bottom: 12px; }
.service > :not(.ph) { margin-inline: 12px; }
.service .num { font: 600 13px var(--serif); letter-spacing: .2em; color: var(--accent); margin-block: 0 6px; }
.service h3 { font-size: clamp(28px, 2.6vw, 38px); margin-block: 0 12px; }
.service > p:not(.num) { color: var(--mute); margin-block: 0 18px; }
.service ul { list-style: none; margin-block: auto 0; padding: 0; }
.service li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.service li::before { content: ''; flex: none; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid var(--accent); transform: translateY(-1px); }
.service:nth-child(2) li::before { border-bottom-color: var(--blue); }
.service:nth-child(3) li::before { border-bottom-color: var(--sky); }

/* Work gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 22vw, 330px); gap: 10px; }
.gallery figure { position: relative; margin: 0; border-radius: 6px; overflow: hidden; background: var(--panel); }
.gallery figure.tall { grid-column: span 2; grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 99px; background: rgba(13,19,32,.78); backdrop-filter: blur(6px); font: 600 12px var(--serif); letter-spacing: .16em; text-transform: uppercase; }

/* Why us */
#why { background: var(--bg) url(../brand/pattern.svg) right -40px top 20px / 90px auto; background-clip: padding-box; }
#why::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, var(--bg) 45%, rgba(13,19,32,.9) 70%, rgba(13,19,32,.75)); }
#why > * { position: relative; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why li { padding: 28px 24px 34px 0; }
.why .n { font: 600 14px var(--serif); letter-spacing: .2em; color: var(--accent); }
.why h3 { margin: 14px 0 10px; font-size: clamp(22px, 1.9vw, 28px); }
.why p { margin: 0; color: var(--mute); max-width: 30ch; }

/* Quote */
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.quote .sub { color: var(--mute); max-width: 40ch; margin: 22px 0 32px; }
/* The business card, reproduced */
.card { position: relative; overflow: hidden; background: #111a2b; border: 1px solid var(--line); border-radius: 10px; padding: 28px 28px 24px; max-width: 440px; box-shadow: 0 24px 60px rgba(4,8,16,.45); }
.card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 55%; height: 75%; background: url(../brand/pattern.svg) 0 0 / 58px auto; opacity: .45; -webkit-mask-image: linear-gradient(225deg, #000 30%, transparent 75%); mask-image: linear-gradient(225deg, #000 30%, transparent 75%); }
.card > * { position: relative; z-index: 1; }
.card .name { font: 600 30px/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; margin: 0; color: var(--sky); }
.card .role { font: italic 500 15px var(--serif); letter-spacing: .2em; text-transform: uppercase; color: #c5d1e0; margin: 6px 0 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(146,201,252,.4); }
.card a { display: flex; align-items: center; gap: 12px; padding: 5px 0; font: 500 19px var(--serif); text-decoration: none; }
.card a:hover { color: var(--accent); }
.ic { flex: none; width: 20px; height: 20px; background: var(--sky); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic-phone { --i: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z"/></svg>'); }
.ic-mail { --i: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.6"><rect x="3" y="5" width="18" height="14" rx="1.5"/><path d="m3.5 6 8.5 7 8.5-7"/></svg>'); }
.ic-ig { --i: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.6"><rect x="3" y="3" width="18" height="18" rx="5"/><circle cx="12" cy="12" r="4"/><circle cx="17.3" cy="6.7" r=".9" fill="black"/></svg>'); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 36px); }
.fields .full { grid-column: 1 / -1; }
.fields label > span, .kinds legend { display: block; font: 600 13px var(--serif); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.fields input:not([type=radio]), .fields textarea { width: 100%; padding: 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color-scheme: dark; font-weight: 300; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--accent); }
.fields .bad input { border-color: var(--warn); }
.kinds { border: 0; padding: 0; margin: 0; min-width: 0; }
.kinds legend { padding: 0; }
.kinds > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kinds label { position: relative; cursor: pointer; }
.kinds input { position: absolute; opacity: 0; }
.kinds label span { display: block; text-align: center; padding: 13px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; transition: border-color .2s, background .2s; }
.kinds input:checked + span { border-color: var(--accent); background: rgba(44,211,163,.1); color: var(--fg); }
.kinds input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.send { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.msg { margin: 0; padding: 12px 14px; border-radius: 6px; background: rgba(255,210,122,.1); color: var(--warn); font-size: 15px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px var(--pad) 110px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; color: var(--mute); font-size: 15px; }
.foot a { display: block; text-decoration: none; margin-top: 6px; }
.foot a:hover { color: var(--fg); }
.foot-logo { width: 150px; height: auto; margin-bottom: 18px; }
.foot .copy { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* Persistent mobile CTA */
.sticky { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; gap: 8px; }
.sticky .btn { flex: 1; padding: 16px; box-shadow: 0 12px 40px rgba(4,8,16,.5); }
.sticky .btn-ghost { flex: 0 0 auto; background: rgba(13,19,32,.9); backdrop-filter: blur(8px); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; padding: var(--pad); gap: 22px; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav a { font: 500 40px var(--display); letter-spacing: -.02em; color: var(--fg); }
  .nav.open { opacity: 1; pointer-events: auto; }
  .menu { display: block; }
  .top > .btn { display: none; }
  .hero-media img { object-position: 62% 20%; }
  .hero-media::after { background: linear-gradient(to bottom, rgba(13,19,32,.55), rgba(13,19,32,.3) 22%, rgba(13,19,32,.88) 52%, var(--bg) 85%); }
  .services, .quote-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .sticky { display: flex; }
}
@media (max-width: 560px) {
  .why, .fields { grid-template-columns: 1fr; }
  .fields .full, .fields > * { grid-column: 1 / -1; }
  .kinds > div { grid-template-columns: 1fr; }
  .hero-strip { gap: 6px 20px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
