@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --canvas: #f9f9f7;
  --canvas-soft: #ecefec;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --ink: #2d3432;
  --muted: #5a605e;
  --line: rgba(173, 179, 176, 0.34);
  --line-strong: rgba(90, 96, 94, 0.18);
  --brand: #5a605c;
  --brand-strong: #4e5450;
  --brand-soft: rgba(90, 96, 92, 0.1);
  --warm: rgba(253, 231, 211, 0.32);
  --cool: rgba(214, 231, 217, 0.26);
  --shadow-soft: 0 16px 42px rgba(45, 52, 50, 0.05);
  --page-width: 76rem;
  --page-prose-width: 46rem;
  --page-intro-width: 54rem;
  --page-grid-gap: clamp(2rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.2rem;
}

li {
  color: var(--muted);
  line-height: 1.8;
}

strong {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.shell {
  width: min(100% - 2rem, 88rem);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 1rem max(1rem, calc((100vw - 88rem) / 2 + 1rem));
  border-bottom: 1px solid rgba(173, 179, 176, 0.24);
  background: rgba(249, 249, 247, 0.82);
  backdrop-filter: blur(18px);
}

.home-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.wordmark,
.footer-wordmark {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.wordmark {
  font-size: 2rem;
  line-height: 0.9;
}

.page-topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button,
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.page-topbar-cta,
.button-primary,
.contact-submit {
  background: var(--brand);
  color: #f3f9f4;
}

.page-topbar-cta:hover,
.button-primary:hover,
.contact-submit:hover {
  background: var(--brand-strong);
  color: #f3f9f4;
  transform: translateY(-1px);
}

.button-secondary {
  background: var(--panel-strong);
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(90, 96, 94, 0.24);
  background: rgba(255, 255, 255, 0.98);
}

.page-stage,
.document-stage,
.terms-stage,
.contact-stage {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 0;
}

.person-role {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-intro,
.contact-intro,
.document-hero,
.terms-hero {
  display: grid;
  gap: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: clamp(3rem, 5vw, 4.75rem);
}

.page-intro {
  max-width: var(--page-intro-width);
}

.contact-intro {
  max-width: var(--page-intro-width);
}

.document-hero,
.terms-hero {
  max-width: var(--page-intro-width);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-intro h1,
.contact-intro h1,
.document-hero h1,
.terms-hero h1 {
  max-width: none;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: var(--ink);
  text-wrap: balance;
}

.page-intro h1,
.contact-intro h1 {
  font-size: clamp(4rem, 10vw, 8rem);
}

.document-hero h1,
.terms-hero h1 {
  font-size: clamp(3.8rem, 7.2vw, 5.7rem);
}

.page-intro p,
.contact-intro p,
.document-hero p,
.terms-hero p {
  max-width: 43rem;
  color: rgba(90, 96, 94, 0.9);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 2.3vw, 2.06rem);
  font-style: italic;
  line-height: 1.46;
  text-wrap: pretty;
}

.document-hero p,
.terms-hero p {
  margin-left: auto;
  margin-right: auto;
  max-width: 40rem;
  font-size: clamp(1.24rem, 2vw, 1.7rem);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.82fr);
  gap: var(--page-grid-gap);
  align-items: start;
  width: min(100%, var(--page-width));
  margin: 0 auto;
}

.page-stack {
  display: grid;
  gap: 1.2rem;
}

.page-card,
.card,
.partner-card,
.person-card {
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top left, var(--warm), transparent 16rem),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow-soft);
}

.page-card,
.card,
.partner-card,
.person-card {
  padding: clamp(1.2rem, 2vw, 1.5rem);
}

.page-card > * + *,
.card > * + * {
  margin-top: 0.8rem;
}

.page-card h2,
.page-prose h2,
.document-block h2,
.terms-block h2 {
  font-size: clamp(1.28rem, 1.8vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.page-card h3,
.card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.page-card p,
.card p,
.partner-card p,
.person-note,
.page-prose p,
.document-block p,
.terms-block p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.page-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-card-list li + li {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(173, 179, 176, 0.24);
}

.page-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top left, var(--warm), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(236, 239, 236, 0.78));
  box-shadow: 0 22px 60px rgba(45, 52, 50, 0.08);
}

.page-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-figure-landscape img {
  aspect-ratio: 16 / 11;
}

.page-figure-tall img {
  aspect-ratio: 4 / 5;
}

.page-prose {
  display: grid;
  gap: 1.1rem;
  max-width: var(--page-prose-width);
}

.monograph-intro {
  max-width: min(100%, 58rem);
}

.monograph-section {
  display: grid;
  gap: clamp(1.4rem, 2vw, 1.9rem);
}

.monograph-card-grid {
  margin-top: 0;
}

.monograph-card-grid .card {
  min-height: 100%;
}

.page-prose h2 {
  margin-top: 1rem;
}

.card-grid,
.partner-grid,
.people-grid {
  display: grid;
  gap: 1rem;
  width: min(100%, var(--page-width));
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.partner-grid,
.people-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.partner-card,
.person-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partner-card {
  gap: clamp(1.2rem, 2.4vw, 1.6rem);
}

.partner-card-body {
  display: grid;
  gap: 0.95rem;
}

.partner-card-body h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.partner-card-body .person-role {
  margin-top: 0.15rem;
}

.partner-card-body p {
  max-width: 30rem;
  margin-top: 0.15rem;
}

.partner-logo-frame,
.portrait-frame {
  overflow: hidden;
  border: 1px solid rgba(173, 179, 176, 0.24);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at top left, var(--warm), transparent 14rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 239, 236, 0.8));
}

.partner-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(8.5rem, 14vw, 10.5rem);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
}

.partner-logo {
  width: min(100%, 15rem);
  max-height: clamp(4rem, 6vw, 4.8rem);
  object-fit: contain;
  filter: grayscale(1) contrast(1.18) brightness(0.55);
  mix-blend-mode: multiply;
  opacity: 0.95;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.studio-feature {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.studio-feature > div:last-child {
  display: grid;
  gap: 0.55rem;
}

.studio-feature h2 {
  margin: 0;
}

.studio-feature p {
  margin: 0;
}

.studio-feature-icon,
.contact-detail-icon {
  display: inline-flex;
  color: var(--brand);
}

.studio-feature-icon {
  width: 3rem;
  height: 3rem;
}

.studio-feature-icon svg,
.contact-detail-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(16.5rem, 22rem) minmax(0, 1fr);
  gap: clamp(2.25rem, 4vw, 4.5rem);
  align-items: start;
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid rgba(173, 179, 176, 0.28);
}

.contact-details {
  display: grid;
  gap: 2rem;
}

.contact-detail {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.contact-detail-icon {
  width: 2rem;
  height: 2rem;
}

.contact-detail h2 {
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.contact-detail p,
.contact-detail a {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  text-decoration: none;
}

.contact-detail a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form {
  display: grid;
  gap: 1.7rem;
  scroll-margin-top: 7rem;
}

.contact-form-context {
  margin-bottom: -0.1rem;
}

.contact-field {
  display: grid;
  gap: 0.75rem;
}

.contact-field span {
  color: rgba(90, 96, 94, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0 0 1rem;
  border: none;
  border-bottom: 1px solid rgba(173, 179, 176, 0.44);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  resize: vertical;
  appearance: none;
}

.contact-field textarea {
  min-height: 10rem;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(90, 96, 94, 0.58);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-bottom-color: rgba(45, 52, 50, 0.48);
}

.contact-submit {
  width: 100%;
  cursor: pointer;
}

.contact-form-note,
.document-note {
  color: rgba(90, 96, 94, 0.86);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.6;
}

.contact-form-status[data-state="loading"] {
  color: var(--muted);
}

.contact-form-status[data-state="success"] {
  color: #3d6652;
}

.contact-form-status[data-state="error"] {
  color: #8a4641;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.document-content,
.terms-content {
  display: grid;
  gap: 2.75rem;
  width: min(100%, var(--page-prose-width));
  margin: 0 auto;
}

.document-block,
.terms-block {
  display: grid;
  gap: 0.95rem;
}

.document-block h2,
.terms-block h2 {
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.section-divider {
  width: min(100%, var(--page-width));
  margin: clamp(2.5rem, 4vw, 3.25rem) auto 0;
  padding-top: clamp(1.8rem, 3vw, 2.35rem);
  border-top: 1px solid rgba(173, 179, 176, 0.3);
}

.section-divider > .page-prose {
  max-width: var(--page-prose-width);
}

.page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  width: 100vw;
  margin: clamp(4rem, 7vw, 6rem) calc(50% - 50vw) 0;
  padding: 3rem max(1rem, calc((100vw - 88rem) / 2 + 1rem)) 3.5rem;
  border-top: 1px solid rgba(173, 179, 176, 0.24);
  background: var(--canvas-soft);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-wordmark {
  font-size: 1.55rem;
  line-height: 1;
}

.footer-copy {
  max-width: 30rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
  opacity: 0.72;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 980px) {
  .page-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-prose {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 1.25rem, 88rem);
  }

  .topbar {
    padding: 0.95rem max(0.625rem, calc((100vw - 88rem) / 2 + 0.625rem));
  }

  .wordmark {
    font-size: 1.75rem;
  }

  .page-topbar-cta {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
  }

  .button,
  .contact-submit {
    min-height: 2.65rem;
    padding: 0.72rem 1.15rem;
    font-size: 0.88rem;
  }

  .page-intro h1,
  .contact-intro h1 {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .document-hero h1,
  .terms-hero h1 {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  .page-intro p,
  .contact-intro p,
  .document-hero p,
  .terms-hero p {
    font-size: clamp(1.12rem, 5vw, 1.5rem);
  }

  .page-grid,
  .contact-layout,
  .card-grid,
  .partner-grid,
  .people-grid,
  .document-content,
  .terms-content,
  .section-divider {
    width: 100%;
  }

  .studio-feature {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .actions .button {
    width: 100%;
  }

  .partner-grid {
    gap: 1.35rem;
  }

  .partner-card {
    gap: 1.2rem;
  }

  .partner-card-body {
    gap: 1rem;
  }

  .partner-card-body .person-role {
    margin-top: 0.35rem;
  }

  .partner-logo-frame {
    min-height: 11rem;
    padding: 1.5rem;
    border-radius: 1.35rem;
  }

  .partner-logo {
    width: min(100%, 16rem);
    max-height: 5rem;
  }

  .page-footer {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
