/* arnar.store — "Gatan". Tokens mirror the Figma file (docs/honnun.md). */

:root {
  color-scheme: light;

  --ink: #15243b;
  --ink-soft: #4a5a70;
  --paper: #ffffff;
  --sky: #eaf3fc;
  --line: #d5dfea;
  --red: #d7391f;
  --red-dark: #b92f18;
  --yellow: #f5c242;
  --blue: #2f7fd3;
  --green: #2e9e72;
  --tint-blue: #e2eefa;
  --tint-yellow: #fdf1d2;
  --tint-green: #dff2e9;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5.5vw, 80px);
  --max: 1280px;
  --radius-panel: 28px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Type ---------- */
h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 13.5em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.015em;
}
h3 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.005em; }
.lead {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.52;
  color: var(--ink-soft);
  max-width: 34em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.0625rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--red); color: var(--paper); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: rgba(21, 36, 59, .06); }
.btn-small { min-height: 48px; padding: 0 22px; }

/* ---------- Hero ---------- */
.hero { background: var(--sky); overflow: clip; }

.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 20px;
}
.brand { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.005em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links > a:not(.btn) { font-size: .9375rem; font-weight: 500; text-decoration: none; }
.nav-links > a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

.hero-intro {
  display: grid; gap: 28px; justify-items: start;
  padding-top: clamp(16px, 2vw, 24px);
  padding-bottom: clamp(72px, 6vw, 96px);
}
.hero-intro .lead { max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* The street keeps every overlay in % of the illustration, so the sign and
   Arnar stay put at any width. */
.street-window { position: relative; }
.street { position: relative; width: 100%; }
.street-img { width: 100%; }
/* Our own signboard laid over the blank one in the illustration (centred on it),
   so it can grow past the drawn board on small screens and stay legible. */
.lot-sign {
  position: absolute;
  left: 64.825%; top: 54.58%;
  min-width: 8.6%; min-height: 8.8%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  padding: 0 .55em;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 2px;
  font-size: clamp(9px, .92vw, 14px); font-weight: 700; letter-spacing: .02em;
  color: var(--ink); white-space: nowrap;
}
.me {
  position: absolute; bottom: 0;
  left: 76.7%; width: 21.25%;
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-sky { background: var(--sky); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 4vw, 56px); }

/* Work */
.work { border-radius: var(--radius-panel); }
.work-text { display: grid; gap: 12px; align-content: start; }
.work-text p { color: var(--ink-soft); }
.work-text .note { font-size: .9375rem; font-weight: 500; }
.work-link {
  justify-self: start; margin-top: 4px;
  font-weight: 700; color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.shot {
  aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 12px; border: 1px solid rgba(21, 36, 59, .1);
  background: var(--paper);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.work-feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 56px; align-items: center;
  padding: 56px; background: var(--tint-blue);
}
.work-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.work-row .work { display: grid; gap: 28px; align-content: start; padding: 40px; }
/* A lone project in the row gets the full width, image left and text right. */
.work-row .work:only-child {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); gap: 56px; align-items: center;
  padding: 56px;
}
.work-yellow { background: var(--tint-yellow); }
.work-green { background: var(--tint-green); }

/* Prices */
.prices { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.price-card { display: grid; gap: 24px; padding: 48px; background: var(--paper); border-radius: var(--radius-panel); }
.price { font-size: 2.75rem; line-height: 1.05; font-weight: 800; letter-spacing: -0.015em; margin-top: -18px; }
.included { list-style: none; padding: 0; display: grid; gap: 12px; }
.included li { display: flex; align-items: baseline; gap: 14px; }
.included li::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px;
  transform: translateY(-1px);
}
.bullet-red li::before { background: var(--red); }
.bullet-blue li::before { background: var(--blue); }

.sticker {
  position: absolute; top: -72px; right: -12px;
  width: 184px; height: 184px; padding: 24px;
  display: grid; place-items: center; text-align: center;
  border-radius: 50%; background: var(--yellow);
  font-weight: 700; font-size: 1.0625rem; line-height: 1.25;
  transform: rotate(-10deg);
}
.fineprint { margin-top: 32px; font-size: .9375rem; font-weight: 500; color: var(--ink-soft); }

/* Steps */
.steps {
  list-style: none; padding: 0; margin-top: clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.steps li { display: grid; gap: 12px; align-content: start; }
.steps p { color: var(--ink-soft); max-width: 26em; }
.step-num { font-size: 4rem; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.num-red { color: var(--red); }
.num-blue { color: var(--blue); }
.num-green { color: var(--green); }

/* Contact */
.contact { border-top: 1px solid var(--line); padding-bottom: 56px; }
.contact .wrap { display: grid; gap: 20px; justify-items: start; }
.phone {
  font-size: clamp(3.5rem, 2rem + 6vw, 6rem); line-height: 1; font-weight: 800; letter-spacing: -0.03em;
  text-decoration: none; margin-top: 8px;
}
.phone:hover { color: var(--red); }
.email {
  font-size: 1.5rem; font-weight: 700; color: var(--blue);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}

.footer {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 56px; font-size: .9375rem; font-weight: 500; color: var(--ink-soft);
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .work-feature,
  .work-row .work:only-child { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  h1 { max-width: 11em; }
}

/* ---------- Phone ---------- */
@media (max-width: 719px) {
  .nav-links > a:not(.btn) { display: none; }
  .brand { font-size: 1.25rem; }
  .btn-small { min-height: 44px; padding: 0 18px; }

  .hero-intro { padding-bottom: 104px; gap: 22px; }
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 auto; }

  /* Show the right-hand part of the street: green house, the empty lot, Arnar. */
  .street { width: 238vw; margin-left: -123.8vw; }
  .lot-sign { font-size: clamp(11px, 3.2vw, 13px); padding: .35em .6em; border-width: 1.5px; }
  .me { left: 72%; }

  .work-feature,
  .work-row .work,
  .work-row .work:only-child { padding: 20px; gap: 22px; }
  .work-row { grid-template-columns: 1fr; }

  .prices { grid-template-columns: 1fr; }
  .price-card { padding: 28px; }
  .sticker { width: 120px; height: 120px; padding: 14px; top: -54px; right: -6px; font-size: .8125rem; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .footer { flex-direction: column; gap: 4px; }
}
