/* Platesea
   Platesea's design, carried over whole: black and white, gold for structure,
   and the photograph as the only colour you are meant to look at. The one
   addition is a little red, for the thing that is live. Three faces doing three
   jobs: a serif for headlines, DM Sans for everything you read, and a mono for
   the small uppercase labels. */

:root {
  --paper: #ffffff;
  --paper-warm: #f6f6f6;
  --paper-line: #ededed;
  --ink: #0d0d0d;
  --ink-2: #2b2b2b;
  --ink-muted: #6b6b6b;
  --ink-faint: #9a9a9a;
  --border: #e6e6e6;
  --border-strong: #cfcfcf;
  --accent: #0d0d0d;
  --accent-deep: #000000;
  --red: #c8312b;

  /* A softened ink for the white button's edge: a hairline, not an outline.
     0.45 keeps it above the 3:1 the boundary needs to stay visible. */
  --edge: rgba(13, 13, 13, 0.45);
  --edge-hover: rgba(13, 13, 13, 0.8);

  --sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
}

/* The red: the hero's eyebrow, with a dot that breathes, because the agent is
   working right now. */
.eyebrow.live { display: flex; align-items: center; gap: 0.65rem; color: var(--red); }
.eyebrow.live .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(200, 49, 43, 0.45);
  animation: breathe 2.4s ease-out infinite;
}

@keyframes breathe {
  0% { box-shadow: 0 0 0 0 rgba(200, 49, 43, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(200, 49, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 49, 43, 0); }
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 em { font-style: italic; }

h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
}

.lede {
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 33rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Colours are declared on both states, so nothing inherits a hover from a
   parent rule and disappears into its own background. */
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* White, with a hairline edge rather than a hard outline, and a hover that
   settles instead of inverting to black. */
.btn-secondary { background: #fff; border-color: var(--edge); color: var(--ink); }
.btn-secondary:hover { background: var(--paper-warm); border-color: var(--edge-hover); color: var(--ink); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand img { width: 25px; height: 25px; }
.brand span { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links .btn + .btn { margin-left: -0.85rem; }
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.16s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  /* Fills the screen under the 68px nav, so the field is the first thing you
     see and there is room for it to move. */
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

/* The city, sharp and at full colour. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/skyline.jpg') center 62% / cover no-repeat;
}

/* White, but heaviest on the left where the words are and thinnest on the
   right, so the towers and the sunset keep their colour. */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.6) 62%, rgba(255, 255, 255, 0.42) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.72) 100%);
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero .lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 36rem; }

/* The dithered field sits behind everything and fades out at the foot so the
   page below does not start on a hard edge. */
#dither {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Above the photograph, below the words. */
  width: 100%;
  height: 100%;
  display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}

.hero-grid { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 0.9fr); gap: 0; }

/* The canvas takes the pointer everywhere except the words and buttons. */
.hero-grid > div { pointer-events: none; }
.hero-grid a { pointer-events: auto; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.25rem; }

/* Everything in the hero lifts in once, slightly out of step. */
.rise { opacity: 0; animation: rise 0.9s cubic-bezier(0.22, 0.8, 0.18, 1) both; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.14s; }
.rise-3 { animation-delay: 0.23s; }
.rise-4 { animation-delay: 0.32s; }
.rise-5 { animation-delay: 0.4s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- pricing ---------- */

/* Commented out of index.html until pricing is decided; the styles stay ready.
   One bordered panel, hairline inside, left aligned. Not a centred cream card,
   which read as a wedding invitation. */
.pricing {
  border-top: 1px solid var(--border);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  scroll-margin-top: 68px;
}

.price-panel {
  margin-top: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  /* The gold: a rule across the top of the panel, structural rather than a
     wash. Light, because at full strength it goes brown on paper. */
  border-top: 2px solid #e3c485;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.9rem 1.75rem;
}

.price {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}
.price span {
  margin-left: 0.6rem;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-muted);
}

.price-includes {
  margin: 0;
  padding: 1.15rem 1.75rem 1.35rem;
  border-top: 1px solid var(--border);
  list-style: none;
}
.price-includes li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.price-includes li + li { margin-top: 0.35rem; }
/* Gold bullet, drawn rather than a list marker so it sits on the cap height. */
.price-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9a83f;
}

.price-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 620px) {
  .price-row { align-items: stretch; flex-direction: column; }
  .price-actions { flex-direction: column; }
  .price-row .btn { width: 100%; }
}

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--border); background: var(--paper-warm); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem; }
.foot-brand p { margin: 1rem 0 0; font-size: 0.9rem; color: var(--ink-muted); max-width: 22rem; }
.foot-col h3 {
  margin: 0 0 0.9rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.foot-col a { display: block; margin-bottom: 0.55rem; font-size: 0.9rem; color: var(--ink-muted); text-decoration: none; }
.foot-col a:hover { color: var(--ink); }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* ---------- about ---------- */

.about {
  min-height: calc(100vh - 68px - 240px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 1.5rem;
}
.about p {
  margin: 0;
  max-width: 24ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 4.4vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero { min-height: 0; padding: clamp(4rem, 14vw, 6rem) 0; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .foot-brand { grid-column: 1 / -1; }
  .nav-links .hide-sm { display: none; }
}

@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; }
  .eyebrow.live .dot { animation: none; }
}
