:root {
  --cream: #fffbef;
  --blue: #283e5c;
  --text: #3e3e3e;
  --ink: #1f1f1f;
  --muted: #6b6b66;
  --line: rgba(62, 62, 62, 0.2);
  --white: #fffdf8;
  --max: 1180px;
  --display: "Anantason SemiExpanded", "Artegra Sans", "Arial Narrow", Arial, sans-serif;
  --body: "Artegra Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --script: "Symphony", "Brush Script MT", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

main section {
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 251, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  flex: 0 0 auto;
  width: 54px;
  overflow: hidden;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.08);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  opacity: 0.9;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a,
.footer a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.footer a:hover {
  color: var(--blue);
}

.header-cta,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-cta:hover,
.primary-link:hover {
  background: transparent;
  color: var(--blue);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  height: clamp(620px, calc(100vh - 82px), 700px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-media {
  background: #d9d8d2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 690px;
  min-width: 0;
  padding: clamp(64px, 9vh, 96px) clamp(24px, 5vw, 72px) clamp(44px, 6vw, 78px);
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: var(--body);
  font-size: clamp(0.78rem, 1vw, 0.96rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  color: var(--text);
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.65rem, 4.25vw, 4.65rem);
  font-weight: 900;
  overflow-wrap: normal;
}

.hero-copy p:not(.section-kicker) {
  max-width: 560px;
  margin: 28px 0 34px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.section {
  padding: clamp(76px, 10vw, 138px) clamp(20px, 5vw, 64px);
}

.intro-band {
  padding-top: clamp(34px, 4.8vw, 60px);
  padding-bottom: clamp(34px, 4.8vw, 60px);
  background: var(--blue);
  color: var(--cream);
  overflow: hidden;
}

.intro-line {
  max-width: var(--max);
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.8vw, 5.35rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.intro-line.alt {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 251, 239, 0.78);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto clamp(42px, 6vw, 76px);
}

.section-heading.compact {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  align-items: end;
  gap: 32px;
}

.section-heading h2,
.about-copy h2 {
  max-width: 900px;
  font-size: clamp(2.35rem, 5vw, 5.55rem);
  font-weight: 900;
}

.services {
  background: var(--blue);
  color: var(--cream);
  overflow: hidden;
}

.services-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 clamp(20px, 4vw, 48px);
  border-top: 1px solid rgba(255, 251, 239, 0.36);
  border-bottom: 1px solid rgba(255, 251, 239, 0.36);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-accordion {
  width: 100%;
}

.service-row {
  border-bottom: 1px solid rgba(255, 251, 239, 0.32);
}

.service-row.is-open .service-summary h2 {
  transform: translateX(6px);
}

.service-summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  min-height: clamp(128px, 11vw, 172px);
  padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 48px);
}

.service-number {
  align-self: start;
  color: var(--cream);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 900;
  opacity: 0.82;
}

.service-summary h2 {
  max-width: 980px;
  color: var(--cream);
  font-size: clamp(2.15rem, 4.7vw, 4.95rem);
  font-weight: 500;
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-summary .script-title {
  font-family: var(--script);
  font-size: clamp(2.75rem, 5.4vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
  text-transform: none;
}

.service-toggle {
  min-width: 128px;
  min-height: 38px;
  padding: 9px 20px;
  border: 1px solid var(--cream);
  border-radius: 999px;
  background: var(--cream);
  color: var(--blue);
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 260ms ease;
}

.service-toggle:hover,
.service-toggle[aria-expanded="true"] {
  background: transparent;
  color: var(--cream);
}

.service-toggle[aria-expanded="true"] {
  transform: translateY(-2px);
}

.service-toggle:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}

.service-panel {
  display: grid;
  grid-template-columns: 46px minmax(0, 680px) 128px;
  gap: clamp(14px, 2.4vw, 30px);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 clamp(22px, 4vw, 48px) clamp(24px, 3vw, 36px);
  transform: translateY(-10px);
  transition:
    max-height 720ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: max-height, opacity, transform;
}

.service-row.is-open .service-panel {
  opacity: 1;
  transform: translateY(0);
}

.service-panel[hidden] {
  display: none;
}

.service-panel p {
  grid-column: 2;
  margin: 0;
  max-width: 660px;
  color: rgba(255, 251, 239, 0.76);
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
  line-height: 1.62;
}

@media (prefers-reduced-motion: reduce) {
  .service-summary h2,
  .service-toggle,
  .service-panel {
    transition: none;
  }
}

.service-card h3,
.work-item h3,
.founder-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.3rem, 2vw, 2.1rem);
  font-weight: 900;
  text-transform: uppercase;
}

.about-copy p,
.work-item p,
.founder-card p,
.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  max-width: calc(var(--max) + 128px);
  margin: 0 auto;
  background: var(--cream);
}

.about-image {
  min-height: 620px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.about-logo {
  display: grid;
  place-items: center;
  border: 0;
  background: #f4f3ee;
}

.about-logo img {
  width: min(122%, 740px);
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: none;
  transform: scale(1.04);
}

.about-copy {
  max-width: 650px;
}

.about-copy .section-kicker {
  margin-bottom: 20px;
  font-size: clamp(0.78rem, 1vw, 0.96rem);
}

.about-copy h2 {
  max-width: 760px;
  font-size: clamp(2.15rem, 4vw, 4.45rem);
  line-height: 0.98;
}

.about-copy p:not(.section-kicker) {
  margin-top: 24px;
  font-size: 1.08rem;
}

.work {
  background: var(--blue);
}

.work .section-kicker,
.work h2 {
  color: var(--cream);
}

.work-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.work-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: end;
  min-height: 330px;
  padding: 20px;
  background: var(--cream);
}

.work-item.large {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.work-item img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  filter: grayscale(1);
}

.work-item.large img {
  min-height: 610px;
}

.work-item div {
  padding: 8px 6px 4px;
}

.founder-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(34px, 5vw, 64px);
}

.founders .section-heading {
  margin-bottom: clamp(34px, 4vw, 52px);
}

.founders .section-heading h2 {
  max-width: 690px;
  font-size: clamp(1.85rem, 3.2vw, 3.45rem);
  line-height: 0.98;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(180px, 0.95fr);
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.founder-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}

.founder-card h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.founder-card p {
  max-width: 360px;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.72;
}

.contact {
  display: grid;
  grid-template-columns: 0.72fr 1.18fr;
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
  max-width: calc(var(--max) + 128px);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.contact-heading h2 {
  max-width: 470px;
  font-size: clamp(3.1rem, 5.2vw, 5.95rem);
  font-weight: 900;
  line-height: 0.95;
}

.contact-form {
  display: grid;
  gap: 28px;
}

.form-honey {
  position: absolute;
  left: -9999px;
}

.inline-field {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
}

.inline-field span,
.message-field span,
.interest-field legend {
  color: var(--blue);
  font-family: var(--body);
  font-size: clamp(0.86rem, 0.95vw, 0.96rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.inline-field input,
.message-field textarea {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: 700 0.95rem/1.45 var(--body);
  letter-spacing: 0;
  outline: 0;
  padding: 0 0 10px;
  text-transform: uppercase;
}

.inline-field input::placeholder,
.message-field textarea::placeholder {
  color: rgba(62, 62, 62, 0.48);
  font-weight: 800;
  text-transform: uppercase;
}

.inline-field input:focus,
.message-field textarea:focus {
  border-color: var(--blue);
}

.interest-field {
  display: grid;
  gap: 20px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.interest-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 12px;
  align-items: start;
  margin-top: 12px;
  margin-left: 0;
}

.interest-field legend {
  padding-top: 0;
  margin-bottom: 2px;
}

.interest-options label {
  min-width: 0;
  cursor: pointer;
}

.interest-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.interest-options span {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.interest-options input:checked + span,
.interest-options label.is-selected span {
  background: var(--blue);
  color: var(--cream);
}

.interest-options input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.message-field {
  display: grid;
  gap: 16px;
  margin-top: 0;
}

.message-field textarea {
  grid-column: 1;
  min-height: 62px;
  resize: vertical;
}

.message-field span {
  padding-top: 0;
}

.form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.is-error {
  color: #8a2f2f;
}

.contact-submit {
  justify-self: end;
  min-height: 46px;
  padding: 12px 28px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--cream);
  cursor: pointer;
  font: 900 0.82rem/1 var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.footer {
  background: var(--ink);
  color: var(--cream);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 42px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 20px;
}

.footer img {
  width: 160px;
  height: 68px;
  margin-bottom: 22px;
  object-fit: cover;
  object-position: center;
}

.footer nav,
.footer address {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.footer-social-link {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.footer-social-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-social-link img {
  width: 18px;
  height: 18px;
  margin: 0;
  object-fit: contain;
  filter: invert(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 251, 239, 0.18);
  padding: 18px 20px;
  color: rgba(255, 251, 239, 0.72);
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  main section {
    scroll-margin-top: 118px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    justify-self: end;
    display: inline-grid;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--line);
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    background: var(--blue);
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 20px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .about,
  .contact,
  .section-heading.compact,
  .work-grid,
  .founder-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .hero-media img,
  .about-image,
  .about-image img {
    min-height: 480px;
  }

  .services-bar span:last-child {
    display: none;
  }

  .service-summary {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-summary h2,
  .service-summary .script-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
    line-height: 0.98;
  }

  .service-toggle {
    justify-self: start;
  }

  .service-panel {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .service-panel p {
    grid-column: 1;
  }

  .contact {
    align-items: start;
  }

  .inline-field {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .interest-field,
  .message-field,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .interest-options,
  .message-field textarea,
  .form-status,
  .contact-submit {
    grid-column: 1;
  }

  .interest-options {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .interest-options label:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-submit {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .brand,
  .brand img {
    width: 54px;
  }

  .header-left {
    gap: 12px;
  }

  .social-links {
    gap: 7px;
  }

  .social-link {
    width: 26px;
    height: 26px;
  }

  .social-link img {
    width: 16px;
    height: 16px;
  }

  .hero-copy {
    padding: 44px 20px 58px;
  }

  h1 {
    font-size: clamp(2.45rem, 12.8vw, 3.65rem);
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .work-item,
  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-card > div {
    display: contents;
  }

  .founder-card h3 {
    order: 1;
    margin-bottom: 0;
  }

  .founder-card img {
    order: 2;
  }

  .founder-card p {
    order: 3;
  }

  .founders .section-heading {
    margin-bottom: 28px;
  }

  .founders .section-heading h2 {
    max-width: 340px;
    font-size: clamp(1.45rem, 6.7vw, 1.85rem);
    line-height: 1.02;
  }

  .work-item img,
  .work-item.large img {
    min-height: 360px;
  }
}
