/* Victor Arellano · Sales Rep for Glow LED Lighting
   Palette from the Glow logo: charcoal #343432, stone #D4D6CA, green #AAC338. */
:root {
  --ink: #232321;
  --ink-2: #343432;
  --ink-soft: #4A4A46;
  --muted: #6B6B66;
  --paper: #F4F3EE;
  --paper-2: #FBFAF7;
  --stone: #E6E7DF;
  --stone-2: #D4D6CA;
  --rule: #D9D9D1;
  --rule-dark: rgba(244, 243, 238, .14);
  --green: #AAC338;
  --green-deep: #5F7613;
  --on-dark: #F4F3EE;
  --on-dark-muted: #A3A39C;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.02; }
h1 em, h2 em { font-style: italic; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: var(--ink); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

.label { font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 22px; height: 1px; background: var(--green-deep); }
.label-light { color: var(--on-dark-muted); }
.label-light::before { background: var(--green); }

/* ---------- Masthead ---------- */
.masthead { padding: 18px 0 0; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.logo { height: 44px; width: auto; }
.masthead-note { display: none; font-size: 13px; color: var(--muted); letter-spacing: .01em; }
@media (min-width: 768px) { .logo { height: 60px; } .masthead-note { display: block; } }

/* ---------- 1. Introduction ---------- */
.intro { padding: 24px 0 64px; }
.intro-grid { display: grid; gap: 22px; grid-template-areas: "card" "head" "body"; }
@media (min-width: 960px) {
  .intro { padding: 56px 0 112px; }
  .intro-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); grid-template-areas: "head card" "body card"; column-gap: 80px; row-gap: 32px; align-items: start; }
}

/* Identity card: a row on phones, a tall portrait on desktop */
.card { grid-area: card; display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; }
.card-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-2); border-radius: 3px; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.card-id { display: grid; gap: 2px; }
.card-name { font: 400 28px/1.05 var(--serif); letter-spacing: -0.01em; }
.card-role { font-size: 14px; color: var(--ink-soft); }
.card-lines { display: grid; gap: 4px; margin-top: 10px; font-size: 13.5px; }
.card-lines a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-soft); min-height: 24px; }
.card-lines a:hover { color: var(--ink); text-decoration: underline; }
.card-lines .ic { width: 15px; height: 15px; color: var(--green-deep); }
@media (min-width: 960px) {
  .card { grid-template-columns: 1fr; gap: 0; position: sticky; top: 32px; }
  .card-photo { aspect-ratio: 4 / 5; border-radius: 2px; }
  .card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(35, 35, 33, .28)); }
  .card-id { position: relative; margin: -56px 24px 0; padding: 22px 24px 20px; background: var(--paper-2); border-top: 3px solid var(--green); box-shadow: 0 24px 48px -24px rgba(35, 35, 33, .35); }
  .card-name { font-size: 34px; }
  .card-role { font-size: 14.5px; }
  .card-lines { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14px; }
}

.intro-head { grid-area: head; }
.kicker { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; margin-bottom: 14px; }
.intro h1 { font-size: clamp(2.6rem, 11vw, 6rem); }
.intro h1 em { color: var(--green-deep); }
@media (min-width: 960px) { .kicker { margin-bottom: 28px; font-size: 13px; } .intro h1 { font-size: clamp(4.25rem, 6.4vw, 6.25rem); } }

.intro-body { grid-area: body; display: grid; gap: 20px; }
.hello { font-size: 1.125rem; line-height: 1.55; color: var(--ink); max-width: 36em; }
@media (min-width: 960px) { .hello { font-size: 1.3rem; } }
.nopressure { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.nopressure::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(170, 195, 56, .22); flex: none; }
.more { color: var(--ink-soft); max-width: 36em; padding-top: 20px; border-top: 1px solid var(--rule); }

/* ---------- Contact actions ---------- */
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.act {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 76px; padding: 12px 6px; text-align: center; text-decoration: none;
  font: 600 13.5px/1.2 var(--sans); color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--rule); border-radius: 4px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
  -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.act .ic { width: 20px; height: 20px; color: var(--green-deep); }
.act:hover { border-color: var(--ink); }
.act:active { transform: scale(.98); }
.act[aria-expanded="true"] { border-color: var(--ink); background: var(--stone); }
.act-primary { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.act-primary .ic { color: var(--green); }
.act-primary:hover { background: var(--ink-2); }
@media (min-width: 560px) {
  .actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .act { flex-direction: row; min-height: 52px; padding: 0 22px; font-size: 15px; gap: 10px; border-radius: 999px; }
  .act .ic { width: 18px; height: 18px; }
}

.phone-panel { grid-column: 1 / -1; flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; background: var(--paper-2); border: 1px solid var(--rule); border-left: 3px solid var(--green); border-radius: 4px; animation: drop .25s var(--ease); }
.phone-number { font: 400 30px/1 var(--serif); letter-spacing: .01em; }
.phone-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.phone-opts a, .phone-opts button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  font: 600 14px/1 var(--sans); color: var(--ink); background: transparent; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; cursor: pointer;
}
.phone-opts a:hover, .phone-opts button:hover { border-color: var(--ink); }
.phone-opts .ic { width: 16px; height: 16px; color: var(--green-deep); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- 2. What I can help with ---------- */
.range { background: var(--ink); color: var(--on-dark); padding: 80px 0; }
@media (min-width: 960px) { .range { padding: 128px 0; } }
.range-head { display: grid; gap: 20px; max-width: 880px; margin-bottom: 48px; }
.range h2 { font-size: clamp(2.4rem, 7vw, 4.75rem); }
.range-sub { color: var(--on-dark-muted); font-size: 1.0625rem; max-width: 40em; }
@media (min-width: 960px) { .range-head { margin-bottom: 72px; } .range-sub { font-size: 1.15rem; } }

.mosaic { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.m { position: relative; overflow: hidden; background: #2E2E2B; aspect-ratio: 4 / 3; }
.m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.m-tall, .m-wide { grid-column: 1 / -1; }
.m-tall { aspect-ratio: 4 / 3; }
.m-tall img { object-position: 50% 35%; }
.m figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px;
  font: 500 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark);
  background: linear-gradient(180deg, transparent, rgba(20, 20, 19, .72));
}
@media (min-width: 960px) {
  .mosaic { grid-template-columns: 5fr 3.5fr 3.5fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(78vh, 720px); }
  .m, .m-tall, .m-wide { aspect-ratio: auto; }
  .m-tall { grid-column: 1; grid-row: 1 / 3; }
  .m-wide { grid-column: 2 / 4; grid-row: 1; }
  .m figcaption { padding: 56px 20px 16px; }
}

.index { margin-top: 56px; display: grid; gap: 24px; }
.index-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule-dark); }
.index-list li { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule-dark); font: 400 24px/1.15 var(--serif); }
.index-list .n { font: 500 12px/1 var(--sans); letter-spacing: .08em; color: var(--green); min-width: 22px; }
.index-note { color: var(--on-dark-muted); font-size: 15px; }
.index-note a { color: var(--on-dark); }
@media (min-width: 720px) { .index-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 960px) {
  .index { margin-top: 96px; grid-template-columns: 1fr 3fr; gap: 40px; align-items: start; }
  .index .label { padding-top: 22px; }
  .index-list li { font-size: 28px; padding: 20px 0; }
  .index-note { grid-column: 2; }
}

/* ---------- 3. How it works ---------- */
.how { padding: 80px 0; }
@media (min-width: 960px) { .how { padding: 128px 0; } }
.how-head { display: grid; gap: 20px; margin-bottom: 48px; }
.how h2 { font-size: clamp(2.4rem, 7vw, 4.75rem); }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { position: relative; padding: 24px 0 28px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--green); }
.step-n { grid-row: span 2; font: 400 44px/0.9 var(--serif); color: var(--green-deep); }
.step h3 { font: 600 17px/1.3 var(--sans); letter-spacing: -0.005em; }
.step p { margin-top: 8px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .how-head { margin-bottom: 72px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; padding-top: 28px; }
  .step-n { grid-row: auto; font-size: 72px; margin-bottom: 28px; }
}
.how-note { margin-top: 40px; padding: 28px 0 0; border-top: 1px solid var(--rule); font: italic 400 clamp(1.5rem, 4vw, 2.25rem)/1.2 var(--serif); color: var(--ink); max-width: 28em; }
@media (min-width: 960px) { .how-note { margin-top: 72px; } }

/* ---------- 4. What you can expect ---------- */
.expect { background: var(--stone); padding: 80px 0; }
@media (min-width: 960px) { .expect { padding: 128px 0; } }
.expect-grid { display: grid; gap: 40px; }
.expect-head { display: grid; gap: 20px; align-content: start; }
.expect h2 { font-size: clamp(2.2rem, 6vw, 3.75rem); max-width: 10em; }
@media (min-width: 960px) { .expect-grid { grid-template-columns: 1fr 1.5fr; gap: 80px; } .expect-head { position: sticky; top: 48px; } }
.terms { border-top: 1px solid #C9CBBE; }
.term { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid #C9CBBE; }
.term dt { font: 400 28px/1.1 var(--serif); }
.term dd { color: var(--ink-soft); max-width: 34em; }
@media (min-width: 640px) { .term { grid-template-columns: 220px 1fr; gap: 24px; padding: 28px 0; align-items: baseline; } .term dt { font-size: 30px; } }

/* ---------- 5. The personal invitation ---------- */
.letter { padding: 88px 0 96px; background: var(--paper); }
@media (min-width: 960px) { .letter { padding: 144px 0; } }
.letter-inner { max-width: 820px; }
.letter h2 { font-size: clamp(2.4rem, 7.2vw, 4.9rem); }
.letter h2 em { color: var(--green-deep); }
.letter-body { margin-top: 40px; display: grid; gap: 16px; font-size: 1.125rem; line-height: 1.65; color: var(--ink-soft); max-width: 36em; }
.letter-close { color: var(--ink); font-weight: 500; }
@media (min-width: 960px) { .letter-body { margin-top: 56px; font-size: 1.25rem; } }
.signoff { margin-top: 44px; display: flex; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--rule); }
.signoff-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; filter: grayscale(.15); }
.sig { font: italic 400 46px/1 var(--serif); }
.sig-org { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.sig-lines { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.sig-lines a { color: var(--ink); }
.actions-letter { margin-top: 28px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--rule); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 13.5px; color: var(--muted); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot strong { color: var(--ink); font-weight: 600; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 14px; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 10; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion ---------- */
.js .enter { opacity: 0; transform: translateY(12px); animation: enter .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes enter { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (hover: hover) { .m:hover img { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .enter, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .m img, .phone-panel { transition: none; animation: none; }
}

/* Phones: zoom the small portrait in on the face */
@media (max-width: 959px) {
  .card-photo img { transform: scale(1.6); transform-origin: 52% 22%; }
}
