/* One variable font file carries every weight and width used on the page. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* Registered so the roller-stroke widths can be animated individually. */
@property --p1 { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@property --p2 { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@property --p3 { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@property --p4 { syntax: "<percentage>"; inherits: false; initial-value: 100%; }

:root {
  /* Colours sampled from the logo (orange #FF6E00 + black) and the photo
     (limestone, copper-roof green used for the painter's tape). */
  --paper:  #f3eadb;
  --paper-2:#e6d9c2;
  --card:   #fbf7ef;
  --ink:    #141210;   /* the logo's black, a touch warm */
  --ink-2:  #4a423b;
  --orange: #ff6e00;   /* exact logo orange */
  --orange-deep: #a64500; /* orange dark enough for text on paper (5:1) */
  --tape:   #4e9c93;

  --pad: clamp(1.25rem, 4.2vw, 3.5rem);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: clip;
  font-family: var(--font);
  font-weight: 450;
  color: var(--ink);
  background-color: var(--paper);
  /* Paper grain: a tiny inline SVG noise tile, no extra request. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .33 0 0 0 0 .22 0 0 0 0 .1 .7 0 0 0 -.27'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; }

.wrap { width: 100%; max-width: 88rem; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- header ---------- */
.top { padding-top: clamp(1rem, 2.6vw, 2rem); }
.brand { width: clamp(10.5rem, min(19vw, 32svh), 16rem); }

/* ---------- stage ---------- */
.stage {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) 4.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7em;
  margin: 0 0 1.4rem;
  font-size: .78rem;
  font-weight: 650;
  font-stretch: 118%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-deep);
}
.eyebrow::before {
  content: "";
  width: .72em; height: .72em;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 110, 0, .55);
  animation: wet 2.4s ease-out infinite;
}
@keyframes wet {
  70%, 100% { box-shadow: 0 0 0 .7em rgba(255, 110, 0, 0); }
}

.headline {
  margin: 0;
  font-size: clamp(4.6rem, 29vw, 9rem);
  font-weight: 900;
  font-stretch: 62%;
  line-height: .8;
  letter-spacing: -.012em;
  text-transform: uppercase;
}
.headline span { display: block; width: fit-content; }

/* "Soon." sits on a freshly rolled stripe of logo orange. */
.stripe { position: relative; isolation: isolate; padding: 0 .1em; margin-left: -.1em; }
.stripe::before {
  content: "";
  position: absolute;
  inset: .1em -.04em -.02em -.04em;
  z-index: -1;
  background: var(--orange);
  transform-origin: 0 50%;
  clip-path: polygon(0 4%, 1.6% 0, 99% 2%, 100% 14%, 98.8% 33%, 100% 55%, 98.6% 78%, 100% 100%, 1.2% 97%, 0 78%, 1.2% 52%, 0 30%);
  animation: roll-x .9s cubic-bezier(.55, .05, .2, 1) .25s both;
}
@keyframes roll-x { from { transform: scaleX(0); } }

.lede {
  max-width: 29rem;
  margin: 2rem 0 0;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.5;
  color: var(--ink-2);
}
.lede strong { color: var(--ink); font-weight: 650; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  padding: 1rem 1.45rem;
  background: var(--ink);
  color: var(--paper);
  font-size: .82rem;
  font-weight: 700;
  font-stretch: 115%;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover { background: var(--orange); color: var(--ink); }
.btn:hover svg { transform: translateX(.2em); }
.mail { display: grid; gap: .15rem; font-size: .95rem; font-weight: 550; }
.mail a { text-decoration-thickness: 1px; text-underline-offset: .22em; }
.mail a:hover { color: var(--orange-deep); }

/* ---------- photo: primer layer + rolled-on colour layer ---------- */
.plate { position: relative; width: min(100%, 27rem); margin-inline: auto; }
.frame { position: relative; margin: 0; }

.canvas {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.layer, .layer img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.layer img { object-fit: cover; }

/* The unpainted wall: a faded, chalky ghost of the photo on bare paper. */
.primer img { filter: grayscale(1) contrast(.9) brightness(1.18); opacity: .62; }

/* Four overlapping strokes, alternating direction like a roller working
   down a wall. The last stroke is deliberately left unfinished. */
.paint {
  --p4: 34%;
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
          mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: var(--p1) 26%, var(--p2) 26%, var(--p3) 26%, var(--p4) 26%;
          mask-size: var(--p1) 26%, var(--p2) 26%, var(--p3) 26%, var(--p4) 26%;
  -webkit-mask-position: 0 0, 100% 33.33%, 0 66.66%, 100% 100%;
          mask-position: 0 0, 100% 33.33%, 0 66.66%, 100% 100%;
  animation:
    stroke1 .8s cubic-bezier(.45, .1, .3, 1) .5s both,
    stroke2 .8s cubic-bezier(.45, .1, .3, 1) 1.2s both,
    stroke3 .8s cubic-bezier(.45, .1, .3, 1) 1.9s both,
    stroke4 .8s cubic-bezier(.45, .1, .3, 1) 2.6s both;
}
@keyframes stroke1 { from { --p1: 0%; } }
@keyframes stroke2 { from { --p2: 0%; } }
@keyframes stroke3 { from { --p3: 0%; } }
@keyframes stroke4 { from { --p4: 0%; } }

/* Painter's tape, in the green of the Parliament copper roofs. */
.tape {
  position: absolute;
  z-index: 3;
  width: 6.6rem;
  height: 1.85rem;
  background:
    linear-gradient(90deg, rgba(255,255,255,.2), transparent 14% 86%, rgba(255,255,255,.2)),
    rgba(78, 156, 147, .86);
  clip-path: polygon(0 0, 3% 22%, 0 42%, 3% 62%, 0 82%, 2% 100%, 100% 100%, 97% 80%, 100% 60%, 97% 40%, 100% 20%, 98% 0);
}
.tape--l { top: -.5rem; left: -1.5rem; rotate: -38deg; }
.tape--r { top: -.5rem; right: -1.5rem; rotate: 38deg; }

.caption {
  display: none;
  font-size: .7rem;
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- paint-chip card ---------- */
.chip {
  position: absolute;
  z-index: 4;
  left: .6rem;
  bottom: -3.4rem;
  width: 15.5rem;
  rotate: -2.6deg;
  filter: drop-shadow(0 1rem 1rem rgba(34, 26, 21, .26)) drop-shadow(0 .1rem .2rem rgba(34, 26, 21, .3));
  animation: settle .8s cubic-bezier(.2, .8, .2, 1) 1.1s both;
}
@keyframes settle { from { opacity: 0; translate: 0 -1.2rem; rotate: -6deg; } }

.chip-card {
  padding: 1.85rem .55rem .95rem;
  background: var(--card);
  /* the punched hole every paint chip has */
  -webkit-mask: radial-gradient(circle at 50% .95rem, transparent 6.5px, #000 7.5px);
          mask: radial-gradient(circle at 50% .95rem, transparent 6.5px, #000 7.5px);
}
.swatches { display: grid; margin: 0; padding: 0; list-style: none; }
.swatches li {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem;
  min-height: 1.75rem;
  padding: .35rem .65rem;
  background: var(--c);
  color: var(--t, var(--ink));
  font-size: .6rem;
  font-weight: 650;
  font-stretch: 115%;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.swatches .pick { min-height: 3.6rem; font-size: .74rem; font-weight: 800; }
.swatches .pick small { font: inherit; font-size: .58rem; letter-spacing: .1em; opacity: .8; }

.spec { padding: .95rem .45rem 0; }
.spec h2 {
  margin: 0 0 .35rem;
  font-size: 1.1rem;
  font-weight: 850;
  font-stretch: 78%;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.05;
}
.spec p { margin: 0; font-size: .78rem; line-height: 1.4; color: var(--ink-2); }
.spec address { margin-top: .6rem; font-style: normal; font-size: .78rem; line-height: 1.4; font-weight: 600; }

/* ---------- footer ---------- */
.foot { background: var(--ink); padding-block: .95rem; }
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 2rem;
  color: rgba(243, 234, 219, .82);
  font-size: .68rem;
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.foot p { margin: 0; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  /* width- AND height-aware so short laptop screens still fit without scrolling */
  .headline { font-size: clamp(4.6rem, min(12.2vw, 20svh), 11.25rem); }
  .stage { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 6vw, 6rem); padding-bottom: 3rem; }
  .plate {
    /* height-driven so the whole composition fits one screen */
    width: min(100%, calc((100svh - 17rem) * .8));
    min-width: 21rem;
    justify-self: end;
    margin-inline: 0;
  }
  .chip { left: -6.2rem; bottom: -2.2rem; width: 16.5rem; }
  .tape--l { left: -1.9rem; }
  .tape--r { right: -1.9rem; }
  .caption {
    display: block;
    position: absolute;
    left: 100%;
    bottom: 0;
    margin: 0 0 0 .75rem;
    writing-mode: vertical-rl;
  }
}

/* narrower desktops: keep the card clear of the intro text */
@media (min-width: 900px) and (max-width: 1199px) {
  .chip { left: -3rem; }
  .lede { max-width: 26rem; }
}

/* short laptop screens: trim vertical spacing so it still fits one view */
@media (min-width: 900px) and (max-height: 780px) {
  .eyebrow { margin-bottom: 1rem; }
  .lede { margin-top: 1.4rem; }
  .cta { margin-top: 1.4rem; }
  .stage { padding-top: 1.25rem; padding-bottom: 2.5rem; }
}

/* ---------- small phones ---------- */
@media (max-width: 899px) {
  .plate { margin-bottom: 9.5rem; }
  .chip { bottom: -9.5rem; }
}
@media (max-width: 480px) {
  .eyebrow { font-size: .64rem; letter-spacing: .11em; }
}
@media (max-width: 420px) {
  .chip { left: .2rem; width: 14.5rem; }
  .tape--l { left: -.9rem; }
  .tape--r { right: -.9rem; }
}

/* Everything painted, nothing animated. */
@media (prefers-reduced-motion: reduce) {
  .paint, .stripe::before, .chip, .eyebrow::before { animation: none; }
}
