/* AshLight's marketing page (lamp.html). The night the renders are drawn in, the lamp's own amber for what is lit,
   brushed aluminium for the quiet details. */
:root {
  --night: #1c0d06;
  --ember: #3a1a0b;
  --alu: #bdb6ad;
  --parchment: #efe4d6;
  --muted: #b5a493;
  --amber: #ff9a3c;
  --serif: "Fraunces", "New York", Georgia, serif;
  --sans: "Hanken Grotesk", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --measure: 34rem;
}

* { box-sizing: border-box; }
html { background: var(--night); color: var(--parchment); scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--parchment); text-decoration-color: color-mix(in srgb, var(--amber) 60%, transparent); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--amber); }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 100; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); line-height: 1.1; margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.4rem; }
p { margin: 0 0 1rem; }

section { padding: clamp(64px, 10vw, 140px) var(--gutter); }

/* the hero: the lamp, lit, with nothing moving */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 6vw, 72px) var(--gutter) 0;
  background: radial-gradient(ellipse 60% 70% at 72% 55%, var(--ember), var(--night) 70%);
}
.mark { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.02em; color: var(--alu); margin-bottom: 2.5rem; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); line-height: 1.02; font-weight: 350; max-width: 11ch; margin-bottom: 1.5rem; }
.lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--muted); max-width: var(--measure); }
.go { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.btn { display: inline-block; padding: 0.8rem 1.4rem; border-radius: 999px; background: var(--amber); color: var(--night); font-weight: 600; text-decoration: none; }
.btn:hover { background: #ffb067; }
.quiet { font-weight: 500; }

.hero-lamp {
  position: relative; margin: 0; align-self: end; justify-self: center; width: min(100%, 520px);
  /* the render's own backdrop dissolves into the page's night: no edge of the picture shows */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}
.hero-lamp img { width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* light you can fall asleep by: the bedroom, its stars on the walls */
.sleep { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.room { border-radius: 4px; }
.points { margin: 0; }
.points dt { font-family: var(--serif); font-size: 1.25rem; color: var(--parchment); margin-top: 1.4rem; }
.points dt:first-child { margin-top: 0; }
.points dd { margin: 0.25rem 0 0; color: var(--muted); max-width: var(--measure); }

/* the three grills */
.grills { text-align: left; }
.intro { color: var(--muted); max-width: var(--measure); margin-bottom: 2.5rem; }
.trio { margin: 0; }
.trio img { width: 100%; border-radius: 4px; }
.trio figcaption { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin-top: 1rem; font-family: var(--serif); font-size: 1.15rem; color: var(--alu); }

/* made to keep */
.built { background: linear-gradient(var(--night), var(--ember) 140%); }
.built-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(24px, 4vw, 56px); max-width: 72rem; }
.built-grid p { color: var(--muted); margin: 0; }
.built-grid > div { border-top: 1px solid color-mix(in srgb, var(--alu) 30%, transparent); padding-top: 1.1rem; }

/* around the house */
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.room-grid figure { margin: 0; }
.room-grid img { border-radius: 4px; }
.room-grid figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }

/* the details */
.specs dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.9rem 2.5rem; max-width: 52rem; margin: 0; }
.specs dt { font-family: var(--serif); color: var(--alu); }
.specs dd { margin: 0; }

/* where it is now */
.status { max-width: calc(var(--measure) + 2 * var(--gutter) + 8rem); }
.status p { color: var(--muted); max-width: var(--measure); }
.status .go { margin-top: 2rem; }

/* for the press */
.press { padding-top: 0; }
.press h2 { font-size: 1.6rem; }
.press p, .press li { color: var(--muted); max-width: 40rem; }
.press ul { padding-left: 1.1rem; margin: 0; }
.press li { margin-bottom: 0.4rem; }

footer { padding: 2rem var(--gutter) 3rem; color: var(--muted); font-size: 0.95rem; border-top: 1px solid color-mix(in srgb, var(--alu) 18%, transparent); }
footer p { margin: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; }
  .mark { margin-bottom: 1.5rem; }
  .hero-lamp { width: min(78%, 380px); }
  .sleep { grid-template-columns: 1fr; }
  .built-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .room-grid { grid-template-columns: 1fr; }
  .specs dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .specs dd { margin-bottom: 0.9rem; }
  .trio figcaption { font-size: 0.95rem; }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .built-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
