/* Totality 2028 - "Basic" light daylight theme
   Tokens ported from ds_tokens/, overridden per the handoff README. */

:root {
  /* surfaces (warm paper) */
  --void-0: #F3F0E9;
  --void-1: #ECE7DB;
  --void-2: #E4DECF;
  --void-3: #D9D2C1;
  /* ink (slate) */
  --bone-0: #38404B;
  --bone-1: #4C545E;
  --bone-2: #7E858E;
  --bone-3: #A7ACB2;
  /* accent (terracotta) */
  --corona: #C97B5A;
  --corona-bright: #B4674A;
  --corona-dim: #9A563C;
  --corona-glow: rgba(201, 123, 90, .22);
  /* lines */
  --line-1: rgba(56, 64, 75, .16);
  --line-2: rgba(56, 64, 75, .32);
  --line-faint: rgba(56, 64, 75, .07);
  /* light-on-dark text */
  --paper-bright: #FDFBF4;

  /* aliases */
  --bg-page: var(--void-0);
  --text-body: var(--bone-1);
  --text-muted: var(--bone-2);
  --text-ghost: var(--bone-3);

  /* type */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --font-serif: 'Cormorant Garamond', serif;
  --text-h2: 32px;
  --text-body-size: 16px;
  --text-micro: 11px;
  --weight-display: 600;
  --tracking-tight: -0.01em;
  --tracking-micro: 0.14em;
  --leading-tight: 1.15;
  --leading-body: 1.55;

  /* layout & shape */
  --page-max: 1280px;
  --page-gutter: clamp(20px, 4vw, 56px);
  --border-hairline: 1px solid var(--line-1);
  --border-rule: 1px solid var(--line-2);
  --dur-fast: 150ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-width: 1280px;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

h1, h2, h3 {
  margin: 0;
  color: var(--bone-0);
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}
h2 { font-size: var(--text-h2); }
p { margin: 0; }

a {
  color: var(--bone-0);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--corona-bright); }
a:active, button:active { opacity: .8; }

::selection { background: var(--corona); color: var(--void-0); }

/* mono caps label */
.t-micro {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--text-muted);
}
.t-micro--ghost { color: var(--text-ghost); }
.t-micro--corona { color: var(--corona); }

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-indent: 0.16em; /* balances the trailing letter-spacing so the label centers */
  text-align: center;
  cursor: pointer;
  border: 0;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn--corona {
  background: var(--corona);
  color: var(--paper-bright);
}
.btn--corona:hover { background: var(--corona-bright); color: var(--paper-bright); }
.btn--header { font-size: 11px; padding: 9px 16px; }
.btn--hero { font-size: 12px; padding: 14px 26px; box-shadow: 0 0 32px var(--corona-glow); }
.btn--submit { font-size: 12px; padding: 0 24px; height: 40px; line-height: 38px; }
.btn--submit:disabled { opacity: .6; cursor: default; }
.btn--outline {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--bone-0);
}
.btn--outline:hover { border-color: var(--corona-bright); color: var(--corona-bright); }
.btn--sm { font-size: var(--text-micro); letter-spacing: var(--tracking-micro); padding: 8px 14px; height: 32px; }

/* announcement bar */
.announce {
  background: var(--bone-0);
  color: var(--void-0);
  text-align: center;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 240, 233, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: var(--border-hairline);
}
.site-header__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo-link { display: flex; align-items: center; }
.logo-mark { display: block; }
.logo-mark circle { fill: var(--bone-0); }
.logo-mark__rays { stroke: var(--bone-0); stroke-width: 1.6; stroke-linecap: round; }
.logo-mark__rays--sm { stroke-width: 1.8; }
.site-nav { display: flex; gap: 28px; margin-left: 24px; }
.site-nav a {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-nav a:hover { color: var(--bone-0); }
.site-header__right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--bone-0);
}

/* hero */
.hero {
  position: relative;
  height: clamp(380px, calc(100vh - 280px), 680px);
  background: linear-gradient(180deg, #54749E 0%, #7E93B4 32%, #AFB0BC 56%, #E0BC9E 82%, #EFCBA8 100%);
  border-bottom: var(--border-hairline);
  overflow: hidden;
}
.hero__centerline {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, .4);
}
.hero__sun {
  position: absolute;
  left: 24px;
  top: 36px;
  width: 170px;
  height: 170px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 246, 230, .55) 22%, rgba(255, 240, 220, .28) 34%, rgba(255, 235, 210, .10) 48%, transparent 68%);
}
.hero__sun-disc {
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  background: #0B0E14;
  box-shadow: 0 0 14px 3px rgba(255, 250, 240, .9), 0 0 34px 11px rgba(255, 242, 224, .5), inset 0 0 12px rgba(20, 24, 34, .9);
}
.hero__inner {
  position: relative;
  max-width: var(--page-max);
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 var(--page-gutter);
}
.hero__headline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--paper-bright);
  margin: 0 150px 0 0;
  text-align: right;
  justify-self: end;
  max-width: 440px;
  text-wrap: balance;
}
.hero__aside {
  justify-self: start;
  padding-left: 56px;
  width: 330px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero__pitch {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .92);
}
.hero__cta-block { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero__microcopy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, .85);
}
.hero__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, .75);
  white-space: nowrap;
}

/* trust strip */
.trust-strip { border-bottom: var(--border-hairline); }
.trust-strip__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-strip__item {
  padding: 18px 0 18px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: var(--border-hairline);
}
.trust-strip__item:first-child { padding-left: 0; }
.trust-strip__item:last-child { border-right: 0; }
.trust-strip__dot { color: var(--corona); font-size: 8px; }

/* sections */
.section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 96px var(--page-gutter) 0;
}
.section--products { padding-top: 72px; }
.section__head {
  border-top: var(--border-rule);
  padding-top: 20px;
  margin-bottom: 40px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* product cards */
.product-card {
  border: var(--border-hairline);
  background: var(--void-1);
  display: flex;
  flex-direction: column;
}
.product-card__media { height: 220px; }
.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: var(--border-hairline);
}
.product-card__media img.crop-high { object-position: 50% 32%; }
.image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--void-2);
  border-bottom: var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--text-ghost);
  text-align: center;
  padding: 0 20px;
}
.product-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-card__body h3 { font-size: 20px; }
.product-card__body p { color: var(--text-body); font-size: 14px; flex: 1; }
.product-card__action { display: flex; justify-content: flex-end; }

/* hosting panel */
.hosting-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border: var(--border-hairline);
  background: var(--void-1);
  padding: 40px;
}
.hosting-panel__pitch { display: flex; flex-direction: column; gap: 20px; }
.hosting-panel__copy { color: var(--text-body); max-width: 440px; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border: var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--text-muted);
}

.reply-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 9px 14px;
  border: 1px solid var(--corona);
  background: var(--corona-glow);
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--corona-dim);
}
.reply-note__dot { color: var(--corona); font-size: 8px; }

/* enquiry form */
.enquiry-form { display: flex; flex-direction: column; gap: 14px; }
.enquiry-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; height: 64px; }
.field__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input {
  width: 100%;
  flex: 1;
  border: var(--border-hairline);
  background: var(--void-0);
  color: var(--bone-0);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 0 12px;
  border-radius: 0;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field input:focus { border-color: var(--corona); }
.enquiry-form__error {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--corona);
}
.enquiry-confirmation {
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--corona);
}

/* reason cards */
.reason-card {
  border: var(--border-hairline);
  background: var(--void-1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reason-card h3 { font-size: 18px; }
.reason-card p { color: var(--text-body); font-size: 14px; }

/* blog */
.site-nav__active { color: var(--bone-0) !important; }
.section--blog-head { padding-top: 72px; }
.blog-intro {
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 12px;
}
.blog-empty {
  border: var(--border-hairline);
  background: var(--void-1);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: var(--border-hairline);
  background: var(--void-1);
  margin-bottom: 16px;
}
.featured-post__media { min-height: 320px; }
.featured-post__media .image-slot { border-bottom: 0; border-right: var(--border-hairline); }
.featured-post__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.featured-post__title { font-size: 28px; }
.featured-post__title a:hover, .post-card h3 a:hover { color: var(--corona-bright); }
.post-excerpt { color: var(--text-body); font-size: 14px; }
.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
}
.blog-grid { margin-top: 16px; }
.post-card {
  border: var(--border-hairline);
  background: var(--void-1);
  display: flex;
  flex-direction: column;
}
.post-card__media { height: 180px; }
.post-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.post-card h3 { font-size: 18px; }
.post-card .post-excerpt { flex: 1; }

/* footer */
.site-footer { border-top: var(--border-hairline); margin-top: 96px; }
.site-footer__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px var(--page-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-micro);
  text-transform: uppercase;
  color: var(--text-ghost);
}
.site-footer__brand { display: flex; align-items: center; gap: 10px; color: var(--bone-0); }
.site-footer__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-transform: none;
  letter-spacing: -0.01em;
}
