:root {
  --line: rgba(181, 219, 232, 0.28);
  --text: #e5edf0;
  --muted: rgba(227, 239, 245, 0.72);
  --dark: #021319;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--dark);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  line-height: 1.45;
  padding-bottom: 88px;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.bottom-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 clamp(24px, 8vw, 220px);
  border-top: 1px solid rgba(179, 219, 232, 0.35);
  background: rgba(10, 26, 33, 0.45);
  backdrop-filter: blur(10px) saturate(120%);
}

.dock-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.dock-logo {
  display: block;
  height: clamp(24px, 2.6vh, 36px);
  width: auto;
}

.dock-nav {
  display: flex;
  gap: 26px;
}

.dock-nav a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.dock-nav a:hover {
  opacity: 1;
}

.dock-chip {
  border: 1px solid rgba(210, 234, 243, 0.6);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1;
}

.top-stage {
  position: relative;
  background-image: url("ezbg0toprt.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right top;
}

.hero,
.story {
  width: 100%;
  padding-left: clamp(48px, 8vw, 220px);
  padding-right: clamp(48px, 8vw, 220px);
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: transparent;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(560px, 95%);
  margin-top: 40px;
}

.hero h1,
.story h2,
.work h2 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(56px, 4.8vw, 94px);
  line-height: 0.9;
  margin-bottom: 22px;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero p {
  max-width: 500px;
  font-size: clamp(18px, 1.35vw, 28px);
  color: var(--muted);
}

.story {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  min-height: 100vh;
  align-items: center;
  padding-top: 200px;
}

.story h2,
.work h2 {
  font-size: clamp(58px, 4.4vw, 88px);
  margin-bottom: 20px;
}

.story-left p {
  max-width: 580px;
  font-size: clamp(16px, 1.2vw, 25px);
  margin-bottom: 12px;
  color: var(--muted);
}

.story-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: center;
}

.trait h3 {
  font-size: clamp(36px, 2.5vw, 56px);
  font-weight: 300;
  margin-bottom: 2px;
  font-family: "Times New Roman", Times, serif;
}

.trait p {
  font-size: clamp(16px, 1.15vw, 24px);
  color: var(--muted);
}

.work {
  width: 100%;
  padding-left: clamp(48px, 8vw, 220px);
  padding-right: clamp(48px, 8vw, 220px);
  padding-top: 90px;
  padding-bottom: 110px;
}

.work .lead {
  max-width: 430px;
  font-size: clamp(16px, 1.2vw, 25px);
  color: var(--muted);
  margin-bottom: 56px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.contact-section {
  width: 100%;
  padding: 40px clamp(48px, 8vw, 220px) 120px;
}

.scope-section {
  width: 100%;
  padding: 20px clamp(48px, 8vw, 220px) 70px;
}

.scope-section h2 {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 3.8vw, 72px);
  margin-bottom: 12px;
}

.scope-lead {
  max-width: 820px;
  font-size: clamp(16px, 1.1vw, 22px);
  color: var(--muted);
  margin-bottom: 20px;
}

.scope-list {
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.scope-list li {
  font-size: clamp(15px, 1vw, 20px);
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.scope-list li::before {
  content: "↗";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
}

.contact-section h2 {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 3.8vw, 72px);
  margin-bottom: 12px;
}

.contact-lead {
  max-width: 720px;
  font-size: clamp(16px, 1.1vw, 22px);
  color: var(--muted);
  margin-bottom: 32px;
}

.contact-form {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: rgba(227, 239, 245, 0.88);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(181, 219, 232, 0.28);
  background: rgba(2, 22, 30, 0.45);
  color: var(--text);
  padding: 12px 14px;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(185, 242, 255, 0.8);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.send-btn {
  width: fit-content;
  border: 1px solid rgba(185, 242, 255, 0.8);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  font-size: 14px;
  color: var(--muted);
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tile > a {
  display: block;
  color: inherit;
}

.tile img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.tile p {
  font-family: "Times New Roman", Times, serif;
  font-size: 30px;
  line-height: 0.95;
}

.tile p em {
  font-style: normal;
  font-size: 25px;
}

.tile-small {
  grid-column: 1 / span 4;
}

.tile-medium {
  grid-column: 6 / span 7;
}

.tile-large {
  grid-column: 3 / span 8;
  margin-top: 18px;
}

.tile-wide {
  grid-column: 1 / span 8;
  margin-top: 18px;
}

.tile.side {
  grid-column: 9 / span 4;
  margin-top: -120px;
  align-self: start;
}

footer {
  width: 100%;
  padding-left: clamp(48px, 8vw, 220px);
  padding-right: clamp(48px, 8vw, 220px);
  margin: 40px auto 70px;
  font-size: 12px;
  color: rgba(227, 239, 245, 0.55);
}


footer a {
  color: rgba(227, 239, 245, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(227, 239, 245, 0.3);
}

footer a:hover {
  border-bottom-color: rgba(227, 239, 245, 0.72);
}

.note-page .essay-hero,
.note-page .essay-section,
.note-page .essay-cta {
  width: 100%;
  padding-left: clamp(48px, 8vw, 220px);
  padding-right: clamp(48px, 8vw, 220px);
}

.note-page .essay-hero {
  padding-top: 120px;
  max-width: 1200px;
}


.note-main {
  padding-top: 24px;
  padding-bottom: 24px;
}

.note-page .essay-content {
  max-width: 900px;
}

.note-page .essay-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: rgba(227, 239, 245, 0.58);
  margin-bottom: 22px;
}

.note-page h1 {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(54px, 4.2vw, 84px);
  margin-bottom: 24px;
}

.note-page h2 {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 2.8vw, 54px);
  margin-bottom: 20px;
}

.note-page p {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(18px, 1.2vw, 24px);
  line-height: 1.72;
}

.note-page .essay-section {
  padding-top: 78px;
}

.note-page .essay-cta {
  padding-top: 104px;
  padding-bottom: 140px;
}

.note-page .essay-cta a {
  display: inline-block;
  margin-top: 18px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(227, 239, 245, 0.5);
}

.note-page .essay-cta a:hover {
  border-bottom-color: rgba(227, 239, 245, 0.9);
}

.case-page {
  min-height: 100vh;
  background: var(--dark);
}

.case-hero {
  aspect-ratio: 2560 / 1629;
  display: flex;
  align-items: center;
  padding: 0 clamp(48px, 8vw, 220px);
  background-image: url("luminarium_hero_bg.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
}

.case-hero--beritech {
  background-image: url("beritech/beritech_hero.jpg");
}

.case-hero--jricards {
  background-image: url("jricards/jricardshero.jpg");
}

.case-hero--castrofitness {
  background-image: url("castrofitness/castrofitnesshero.webp");
}

.case-hero-inner h1 {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 5vw, 92px);
  margin-bottom: 12px;
}

.honestvoice-page .case-paragraph h1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  font-size: clamp(58px, 4.4vw, 88px);
  margin-bottom: 20px;
}


.honestvoice-page .publications-list {
  display: grid;
  gap: 20px;
  margin-top: 26px;
  max-width: 980px;
}

.honestvoice-page .publication-card {
  border: 1px solid var(--line);
  padding: clamp(20px, 2vw, 30px);
  background: rgba(255, 255, 255, 0.01);
}

.honestvoice-page .publication-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: rgba(227, 239, 245, 0.62);
  margin-bottom: 10px;
}


.honestvoice-page .publication-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 14px;
}

.honestvoice-page .publication-card h2 {
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 2.2vw, 44px);
  margin-bottom: 12px;
}

.honestvoice-page .publication-card p {
  max-width: 900px;
}

.honestvoice-page .publication-card a {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(227, 239, 245, 0.45);
}

.honestvoice-page .publication-card a:hover {
  border-bottom-color: rgba(227, 239, 245, 0.92);
}
.testfirstpost-page .case-paragraph h1 {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  font-size: clamp(48px, 3.8vw, 72px);
  margin-bottom: 18px;
}

.testfirstpost-page .post-subtitle {
  max-width: 780px;
  font-size: clamp(18px, 1.15vw, 24px);
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 38px;
}

.case-hero-inner p {
  font-size: clamp(22px, 1.6vw, 34px);
  color: var(--muted);
}

.case-hero-note {
  margin-top: 22px;
  max-width: 780px;
  font-size: clamp(18px, 1.15vw, 24px) !important;
}

.case-hero-inner {
  max-width: 820px;
  transform: translateY(-200px);
}

.case-paragraph {
  padding: 0;
}

.case-paragraph p {
  max-width: 720px;
  font-size: clamp(18px, 1.2vw, 25px);
  line-height: 1.7;
  color: var(--muted);
}

.editorial-blocks {
  max-width: 760px;
}

.editorial-blocks p + p {
  margin-top: 88px;
}

.case-gallery-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.case-gallery-3 figure {
  margin: 0;
}

.case-gallery-3 img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.case-gallery-3 img.case-image-full {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto !important;
}

.case-story {
  padding: 56px clamp(48px, 8vw, 220px) 140px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
}

.case-story--reverse .case-gallery-3 {
  order: 1;
}

.case-story--reverse .case-paragraph {
  order: 2;
}

@media (max-width: 980px) {
  .bottom-dock {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand chip"
      "nav nav";
    gap: 6px 14px;
    height: auto;
    padding: 10px 5vw;
  }

  .dock-brand {
    grid-area: brand;
  }

  .dock-nav {
    grid-area: nav;
    gap: 12px;
  }

  .dock-nav a {
    font-size: 10px;
  }

  .dock-chip {
    grid-area: chip;
    font-size: 17px;
    padding: 6px 12px;
  }

  .hero,
  .story,
  .work,
  .scope-section,
  .contact-section,
  .case-story,
  .note-page .essay-hero,
  .note-page .essay-section,
  .note-page .essay-cta,
  footer {
    width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .hero {
    min-height: 100vh;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 80px;
    padding-bottom: 120px;
  }

  .hero h1 {
    font-size: clamp(42px, 10vw, 64px);
  }

  .case-hero {
    aspect-ratio: auto;
    min-height: 92vh;
    padding: 0 5vw;
    background-size: cover;
    background-position: center top;
  }

  .case-hero-inner {
    max-width: 90vw;
    transform: translateY(0);
  }

  .hero p,
  .story-left p,
  .trait p {
    font-size: 18px;
  }

  .story h2,
  .work h2 {
    font-size: clamp(44px, 10vw, 62px);
  }

  .trait h3 {
    font-size: clamp(28px, 6vw, 40px);
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .case-story {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 120px;
  }

  .case-gallery-3 {
    gap: 18px;
  }

  .tile,
  .tile-small,
  .tile-medium,
  .tile-large,
  .tile-wide,
  .tile.side {
    grid-column: auto;
    margin-top: 0;
  }

  .tile p {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
