/* Curiosity Website, static multi-page build */

@font-face {
  font-family: "Catchy Mager";
  src: url("assets/fonts/CatchyMager.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep-water: #063640;
  --curiosity-teal: #015053;
  --lake-blue: #0a6273;
  --gold-leaf: #bf8e29;
  --warm-paper: #f4f0ed;
  --soft-sage: #d8ded2;
  --olive-sage: #535742;
  --schist: #d8c4af;
  --warm-stone: #b7aa92;
  --ink: #171717;
  --white: #ffffff;
  --font-display: "Catchy Mager", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --container: 1200px;
  --pad: clamp(24px, 5vw, 96px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.page-contact {
  background: var(--soft-sage);
}

body.page-services {
  background: var(--warm-paper);
}

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

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

p,
ul,
ol,
dl,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variant-ligatures: no-common-ligatures no-discretionary-ligatures no-historical-ligatures no-contextual;
  font-feature-settings: "liga" 0, "dlig" 0, "hlig" 0, "clig" 0;
}

h1 {
  font-size: clamp(3rem, 5.2vw, 4rem);
  line-height: 1;
}

h2 {
  font-size: clamp(2.45rem, 5vw, 4.55rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.32rem, 2vw, 1.75rem);
  line-height: 1.18;
  font-weight: 600;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  max-width: var(--container);
  margin: 0 auto;
  padding: 30px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.inner-header {
  position: relative;
  max-width: none;
  min-height: 48px;
  padding: 5px 22px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: var(--warm-paper);
}

.brand-link img {
  width: clamp(178px, 20vw, 262px);
  height: auto;
}

.inner-header .brand-link img {
  width: clamp(108px, 10vw, 132px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--warm-paper);
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inner-nav {
  color: var(--deep-water);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav a {
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.inner-nav a.active {
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.active {
  border-bottom-color: var(--gold-leaf);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(150px, 10vw, 180px) var(--pad) 76px;
  background: #01464b;
  color: var(--warm-paper);
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(320px, 500px);
  justify-content: center;
  gap: clamp(54px, 5vw, 90px);
  align-items: start;
  overflow: hidden;
}

.page-home .site-header {
  display: flex;
  justify-content: flex-end;
  color: var(--warm-paper);
}

.page-home .site-header .brand-link {
  display: none;
}

.hero-copy {
  max-width: 710px;
  justify-self: start;
}

.hero h1 {
  margin-top: 56px;
  font-size: clamp(3.1rem, 4.2vw, 4.08rem);
  line-height: 1.05;
  color: var(--warm-paper);
}

.hero h1 span {
  display: block;
}

.hero-sub {
  max-width: 650px;
  color: rgba(244, 240, 237, 0.95);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.35;
}

.hero-art {
  justify-self: start;
  align-self: start;
  padding-top: clamp(34px, 4vw, 70px);
}

.hero-art img {
  width: min(39vw, 505px);
  min-width: 310px;
  filter: none;
}

.hero-mark {
  display: inline-block;
}

.hero-mark img {
  width: clamp(190px, 17vw, 252px);
  height: auto;
}

.eyebrow,
.field-label {
  color: var(--gold-leaf);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

.gold-rule {
  width: min(31vw, 470px);
  height: 18px;
  margin: 30px 0 26px;
  background-image: url("assets/gold-divider.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-gold {
  color: var(--deep-water);
  background: var(--gold-leaf);
  border-color: var(--gold-leaf);
}

.button-gold:hover,
.button-gold:focus {
  background: #ab7d24;
  border-color: #ab7d24;
}

.button-outline {
  color: var(--warm-paper);
  border-color: rgba(244, 240, 237, 0.55);
}

.button-outline:hover,
.button-outline:focus {
  border-color: var(--warm-paper);
}

.button-dark {
  color: var(--warm-paper);
  background: var(--deep-water);
  border-color: var(--deep-water);
}

.button-dark:hover,
.button-dark:focus {
  color: var(--deep-water);
  background: transparent;
}

.text-link {
  display: inline-block;
  color: var(--deep-water);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold-leaf);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-link:focus,
.contact-list a:hover,
.footer-links a:hover {
  color: var(--lake-blue);
}

.lead {
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.52;
}

.intro-panel,
.section-shell,
.proof-band,
.image-cta,
.page-hero,
.about-page,
.credential-panel,
.contact-section {
  padding: clamp(72px, 9vw, 128px) var(--pad);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: clamp(40px, 7vw, 90px);
  max-width: var(--container);
  margin: 0 auto;
}

.intro-copy,
.intro-body,
.section-heading-row,
.page-hero,
.about-page,
.contact-section {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.proof-band,
.image-cta,
.credential-panel,
.method-band,
.site-footer {
  width: 100%;
  max-width: none;
}

.intro-body {
  display: grid;
  gap: 20px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.paper-section {
  background: var(--warm-paper);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 58px);
}

.section-heading-row > div {
  max-width: 720px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
}

.five-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.five-grid .field-card {
  grid-column: span 2;
}

.five-grid .field-card:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.field-card,
.work-card {
  min-height: 100%;
  padding: clamp(28px, 4vw, 40px);
  background: var(--white);
  border: 1px solid rgba(183, 170, 146, 0.85);
}

.field-card h3,
.work-card h2 {
  margin-top: 16px;
  color: var(--deep-water);
}

.field-card p:not(.field-label),
.work-card p {
  margin-top: 18px;
}

.soft-card {
  background: var(--soft-sage);
  border-color: transparent;
}

.dark-card {
  color: var(--warm-paper);
  background: var(--deep-water);
  border-color: var(--deep-water);
}

.dark-card h3,
.dark-card .field-label {
  color: var(--warm-paper);
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.9fr);
  gap: clamp(40px, 7vw, 82px);
  color: var(--warm-paper);
  background: var(--deep-water);
}

.proof-band h2 {
  color: var(--warm-paper);
}

.proof-list {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.proof-list li,
.step-list li {
  border-top: 1px solid rgba(244, 240, 237, 0.18);
  padding-top: 16px;
}

.image-cta,
.split-hero,
.about-page,
.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 82px);
  align-items: center;
}

.image-cta {
  background: var(--soft-sage);
}

.cta-copy,
.contact-copy,
.about-copy {
  max-width: 690px;
}

.cta-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow),
.about-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.cta-copy .button,
.contact-copy .button {
  margin-top: 34px;
}

.image-frame,
.portrait-frame {
  margin: 0;
  overflow: hidden;
  background: var(--schist);
}

.image-frame img,
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-frame {
  aspect-ratio: 1.35 / 1;
}

.tall-frame {
  height: min(58vw, 560px);
}

.page-hero {
  background: var(--warm-paper);
}

.page-hero:not(.split-hero) {
  max-width: 980px;
}

.not-found {
  min-height: 58vh;
}

.not-found .button {
  margin-top: 34px;
}

.page-hero .lead {
  max-width: 760px;
  margin-top: 26px;
}

.split-hero {
  max-width: var(--container);
}

.work-surface {
  background: var(--warm-paper);
}

.work-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: var(--container);
  margin: 0 auto;
}

.work-card ul {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-left: 1.1rem;
}

.method-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: clamp(40px, 7vw, 82px);
  padding: clamp(72px, 9vw, 128px) var(--pad);
  color: var(--warm-paper);
  background: var(--curiosity-teal);
}

.method-band > * {
  max-width: 620px;
}

.method-band h2 {
  color: var(--warm-paper);
}

.step-list {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.step-list span {
  display: inline-block;
  min-width: 46px;
  color: var(--gold-leaf);
  font-weight: 700;
}

.testimonial-section {
  padding: clamp(72px, 9vw, 110px) var(--pad);
  background: var(--deep-water);
  color: var(--warm-paper);
}

blockquote {
  position: relative;
  padding-top: 24px;
}

blockquote::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 14px;
  background-image: url("assets/gold-divider.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

blockquote p {
  font-size: clamp(1rem, 1.5vw, 1.17rem);
}

cite {
  display: block;
  margin-top: 22px;
  color: var(--gold-leaf);
  font-style: normal;
  font-weight: 700;
}

.about-page {
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1fr);
  background: var(--warm-paper);
}

.about-hero-canva {
  max-width: var(--container);
  width: min(calc(100% - (2 * var(--pad))), var(--container));
  margin: 0 auto;
  padding: clamp(54px, 5vw, 72px) 0 clamp(58px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: clamp(44px, 8vw, 96px);
  align-items: center;
  background: var(--warm-paper);
}

.about-hero-copy {
  max-width: 760px;
}

.about-hero-copy h1 {
  font-size: clamp(3.1rem, 4vw, 3.85rem);
  line-height: 1.05;
}

.about-hero-copy p {
  margin-top: 24px;
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  line-height: 1.45;
}

.about-hero-copy a {
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.portrait-frame {
  aspect-ratio: 0.72 / 1;
}

.about-deep {
  color: var(--warm-paper);
  background: var(--curiosity-teal);
}

.about-deep-inner {
  max-width: var(--container);
  width: min(calc(100% - (2 * var(--pad))), var(--container));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}

.about-deep h2 {
  color: var(--warm-paper);
  font-size: clamp(2.8rem, 4vw, 3.65rem);
}

.about-deep h2 span {
  color: var(--gold-leaf);
}

.about-story p,
.about-story ul {
  margin-top: 26px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.45;
}

.about-story ul,
.about-credentials ul {
  padding-left: 1.2rem;
}

.about-credentials {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
  padding-top: clamp(48px, 6vw, 80px);
}

.credential-group h3 {
  color: var(--warm-paper);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  font-weight: 700;
}

.credential-group ul {
  margin-top: 8px;
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  line-height: 1.35;
}

.credential-group li + li {
  margin-top: 4px;
}

.credential-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(40px, 7vw, 82px);
  color: var(--warm-paper);
  background: var(--deep-water);
}

.credential-panel h2 {
  color: var(--warm-paper);
}

.credential-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  padding-left: 1.1rem;
}

.contact-page {
  background: transparent;
}

.page-contact .inner-header {
  background: var(--soft-sage);
}

.page-contact .contact-section {
  width: min(calc(100% - (2 * var(--pad))), 1260px);
  min-height: auto;
  padding: clamp(92px, 8vw, 150px) 0 clamp(112px, 9vw, 156px);
  align-items: start;
}

.page-contact .contact-copy h1 {
  font-size: clamp(3.2rem, 5.4vw, 4.65rem);
  line-height: 1.05;
}

.page-contact .button-dark {
  background: var(--olive-sage);
  border-color: var(--olive-sage);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-contact .button-dark:hover,
.page-contact .button-dark:focus {
  color: var(--olive-sage);
  background: transparent;
}

.services-hero {
  align-items: start;
  grid-template-columns: minmax(0, 600px) minmax(320px, 420px);
  justify-content: space-between;
  width: min(calc(100% - (2 * var(--pad))), 1110px);
  margin-left: max(var(--pad), calc((100% - var(--container)) / 2));
  margin-right: auto;
  padding-top: clamp(58px, 6vw, 96px);
  padding-right: 0;
  padding-left: 0;
}

.services-hero p {
  max-width: 620px;
  margin-top: 28px;
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.35;
}

.services-image {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1.1;
  justify-self: center;
  align-self: start;
}

.service-list {
  display: grid;
  gap: 26px;
  margin-top: clamp(48px, 6vw, 76px);
  padding-left: 1.25rem;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.35;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  margin-top: 34px;
}

.contact-list dt {
  color: var(--deep-water);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 6px 0 0;
}

.contact-list a {
  text-decoration: underline;
  text-decoration-color: var(--gold-leaf);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.canva-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: clamp(56px, 7vw, 82px) var(--pad) 32px;
  color: var(--warm-paper);
  background: var(--deep-water);
  border-top: 1px solid rgba(244, 240, 237, 0.16);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 7vw, 82px);
}

.footer-brand img {
  width: 210px;
}

.footer-brand p {
  max-width: 460px;
  margin-top: 26px;
  color: rgba(244, 240, 237, 0.82);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.footer-links h2 {
  margin-bottom: 16px;
  color: var(--gold-leaf);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin-top: 10px;
  color: rgba(244, 240, 237, 0.9);
}

.footer-note {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 240, 237, 0.16);
  color: rgba(244, 240, 237, 0.68);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 10px;
  }

  .hero,
  .intro-panel,
  .proof-band,
  .image-cta,
  .split-hero,
  .about-hero-canva,
  .about-deep-inner,
  .about-page,
  .credential-panel,
  .contact-section,
  .method-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    justify-self: start;
  }

  .hero-art {
    justify-self: center;
  }

  .hero-art img {
    width: min(82vw, 530px);
  }

  .field-grid,
  .five-grid,
  .work-grid,
  .testimonial-grid,
  .credential-panel ul {
    grid-template-columns: 1fr;
  }

  .five-grid .field-card,
  .five-grid .field-card:nth-last-child(2) {
    grid-column: auto;
  }

  .tall-frame {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .site-header {
    display: grid;
    padding-top: 22px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 14px 20px;
    font-size: 0.72rem;
  }

  .hero {
    padding-top: 178px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.85rem, 13.2vw, 3.6rem);
  }

  .hero-sub {
    max-width: 32ch;
  }

  .button-row,
  .button,
  .section-heading-row,
  .footer-links,
  .contact-list {
    width: 100%;
  }

  .button-row,
  .section-heading-row {
    display: grid;
  }

  .button {
    text-align: center;
  }

  .footer-links,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .wide-frame {
    aspect-ratio: 4 / 3;
  }
}
