/* ==========================================================================
   TIME ADVERTS — shared stylesheet
   One family (Manrope) across all roles. Soft, rounded, approachable:
   generous radii, warm paper, softened near-black, roomy leading.
   ========================================================================== */

:root {
  /* Palette — warm monochrome, no accent colour by design */
  --paper:       #FCFBF8;
  --paper-warm:  #F5F2EC;
  --ink:         #17160F;
  --ink-soft:    #2A2822;
  --graphite:    #5C5A52;
  --mute:        #93908A;
  --line:        #E4E0D7;
  --line-soft:   #EFECE5;

  /* Type — single family, roles separated by weight and spacing */
  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --gutter: clamp(1.5rem, 5vw, 6rem);
  --section-y: clamp(5rem, 12vh, 10rem);
  --maxw: 1280px;

  /* Softness */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 7vh, 5.5rem); }

/* ---------- Signature: the tapered rule ----------
   A line that thins to nothing, echoing the clock hand in the mark.       */
.rule {
  display: block;
  width: 100%;
  height: 5px;
  color: var(--ink);
  opacity: .34;
}
.rule svg { display: block; width: 100%; height: 100%; }
.rule--flip { transform: scaleX(-1); }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 1.75rem;
}
.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.9rem, 8.4vw, 6.7rem);
  line-height: .95;
  letter-spacing: -.045em;
  margin: 0;
}
.display em {
  font-style: normal;
  font-weight: 500;
  color: var(--graphite);
}
.statement .display em { color: rgba(252,251,248,.58); }
h2.heading {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.3vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.038em;
  margin: 0 0 1.75rem;
}
h3.sub {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 .6rem;
}
.lede {
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: var(--graphite);
  max-width: 46ch;
  margin: 0;
  font-weight: 400;
}
.body-text { color: var(--graphite); max-width: 62ch; }
.body-text p { margin: 0 0 1.2rem; }
.body-text p:last-child { margin-bottom: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  text-decoration: none;
}
.brand img { width: 27px; height: 27px; object-fit: contain; }
.brand span {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: clamp(.4rem, 1.6vw, 1rem); }
.nav a {
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--graphite);
  padding: .5rem .9rem;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}
.nav a:hover { color: var(--ink); background: var(--paper-warm); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper-warm); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(4.5rem, 15vh, 10rem) clamp(3.5rem, 9vh, 6.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .42fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-mark {
  justify-self: end;
  width: clamp(150px, 22vw, 290px);
  opacity: .93;
}
.hero-sub {
  margin-top: clamp(1.8rem, 3.5vw, 2.8rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* ---------- Statement band ---------- */
.statement {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  margin-inline: clamp(.75rem, 3vw, 2.5rem);
}
.statement .display { font-size: clamp(2.1rem, 5.6vw, 4.3rem); }
.statement-note {
  font-size: .96rem;
  color: rgba(252,251,248,.62);
  margin: 2.25rem 0 0;
  max-width: 46ch;
  line-height: 1.7;
}

/* ---------- Two-column editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Index list ---------- */
.index-list { margin: 0; padding: 0; list-style: none; }
.index-item {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1rem, 2.2vw, 1.8rem);
  border-radius: var(--r-md);
  transition: background .3s ease;
}
.index-item + .index-item { box-shadow: 0 -1px 0 var(--line); }
.index-item:hover { background: var(--paper-warm); box-shadow: none; }
.index-item:hover + .index-item { box-shadow: none; }
.index-num {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--mute);
  padding-top: .5rem;
}
.index-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -.028em;
  margin: 0 0 .6rem;
}
.index-body p {
  margin: 0;
  color: var(--graphite);
  max-width: 58ch;
  font-size: .97rem;
}

/* ---------- Principle cards ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.2rem, 2.6vw, 1.8rem);
}
.principle {
  background: var(--paper-warm);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.principle h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.22;
  letter-spacing: -.028em;
  margin: 0 0 .7rem;
}
.principle p { margin: 0; color: var(--graphite); font-size: .95rem; }

/* ---------- Image slot ---------- */
.image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 32vw, 420px);
  padding: 1.5rem;
}
.image-slot img { max-height: clamp(220px, 32vw, 420px); width: auto; object-fit: contain; }
.image-slot--empty {
  background: var(--paper-warm);
  border-radius: var(--r-lg);
  color: var(--mute);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 1rem 1.9rem;
  font-family: var(--body);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -.005em;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.005em;
  text-decoration: none;
  color: var(--ink);
  transition: gap .25s ease, opacity .25s ease;
}
.arrow-link:hover { gap: 1rem; opacity: .68; }

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.detail-block { margin-bottom: 2.2rem; }
.detail-block:last-child { margin-bottom: 0; }
.detail-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 .5rem;
}
.detail-value { font-size: 1.05rem; margin: 0; line-height: 1.6; }
.detail-value a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color .25s ease;
}
.detail-value a:hover { border-bottom-color: var(--ink); }

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
}
.field { display: flex; flex-direction: column; margin-bottom: 1.3rem; }
.field label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: .55rem;
}
.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-warm);
  border: 1px solid transparent;
  padding: .95rem 1.1rem;
  border-radius: var(--r-sm);
  transition: border-color .25s ease, background .25s ease;
  width: 100%;
}
.field select { appearance: none; cursor: pointer; }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--ink);
}
.form-status {
  margin-top: 1.2rem;
  font-size: .92rem;
  color: var(--graphite);
  min-height: 1.4rem;
}
.form-status[data-state="error"] { color: #A32020; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-inline: clamp(.75rem, 3vw, 2.5rem);
  padding-block: clamp(3.5rem, 8vh, 6rem) 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.footer-mark { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; }
.footer-mark img { width: 30px; height: 30px; }
.footer-mark span {
  font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.footer-tagline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -.038em;
  margin: 0;
  max-width: 18ch;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  font-size: .93rem;
  text-decoration: none;
  color: rgba(252,251,248,.66);
  transition: color .25s ease;
  width: fit-content;
}
.footer-links a:hover { color: var(--paper); }
.footer-col-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(252,251,248,.42);
  margin: 0 0 1rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2.2rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(252,251,248,.14);
  font-size: .78rem;
  font-weight: 500;
  color: rgba(252,251,248,.45);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s cubic-bezier(.22,.61,.36,1), transform .85s cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.statement :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }
.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: .8rem 1.2rem; z-index: 100; text-decoration: none;
  border-radius: var(--r-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { justify-self: start; width: clamp(110px, 30vw, 170px); order: -1; margin-bottom: 1.5rem; }
  .split, .split--even, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .header-inner { min-height: 66px; }
  .brand span { font-size: .74rem; letter-spacing: .13em; }
  .nav a { padding: .45rem .6rem; font-size: .82rem; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .index-item { grid-template-columns: 2.3rem minmax(0, 1fr); gap: .9rem; padding-inline: .6rem; }
  .brand span { display: none; }
  .statement, .site-footer { margin-inline: .5rem; }
}
