/* Brand, company and service pages share the site's existing type and palette. */
:root {
  --brand-paper: #f5efe3;
  --brand-card: #fbf5e9;
  --brand-footer: #eee3d0;
  --brand-border: #dcc9b6;
  --brand-copy: #644b3e;
}

.brand-header .desktop-nav { gap: clamp(18px, 3.1vw, 42px); }
.brand-header .header-link { white-space: nowrap; }
.brand-header .lang { min-width: 32px; min-height: 44px; }
.brand-header .header-menu { display: none; position: relative; }
.brand-header .header-menu summary {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}
.brand-header .header-menu summary::-webkit-details-marker { display: none; }
.header-menu-icon {
  width: 17px;
  height: 9px;
  border-block: 1px solid currentColor;
}
.brand-header .header-menu nav {
  position: absolute;
  inset: 100% 0 auto auto;
  display: grid;
  min-width: min(218px, 80vw);
  gap: 0;
  padding: 6px 14px;
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  background: var(--brand-card);
  color: var(--ink);
  box-shadow: 0 12px 30px #30251e20;
  font-size: 14px;
}
.home-page .brand-header:not(.is-scrolled) .header-menu nav [aria-current="page"] {
  color: var(--red-deep);
}
.brand-header .header-menu nav a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 44px;
  padding: 5px 8px;
}

.company-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(215px, 1.35fr) repeat(3, minmax(115px, 1fr));
  align-items: start;
  column-gap: clamp(24px, 4vw, 68px);
  row-gap: 40px;
  margin: 0;
  padding: clamp(34px, 5vw, 66px) 5% 26px;
  font-size: 14px;
  letter-spacing: normal;
  color: var(--ink);
  border-color: var(--brand-border);
  background: var(--brand-footer);
}
.company-footer .footer-profile > p {
  margin: 11px 0 0;
  color: var(--brand-copy);
  max-width: 28ch;
}
.company-footer .footer-group {
  display: grid;
  justify-items: start;
  gap: 9px;
}
.company-footer .footer-group h2 {
  margin: 0 0 2px;
  font: 700 14px/1.4 var(--sans);
  letter-spacing: normal;
}
.company-footer .footer-group a { line-height: 1.5; }
.company-footer .footer-profile p a { text-decoration: underline; text-underline-offset: 3px; }
.company-footer a:not(.brand):hover { text-decoration: underline; text-underline-offset: 4px; }
.home-company {
  position: relative;
  z-index: 5;
  display: grid;
  align-items: center;
  gap: clamp(20px, 6vw, 100px);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  padding: clamp(58px, 8vw, 126px) 5%;
  background: var(--brand-paper);
  color: var(--ink);
}
.home-company h2 {
  margin: 0;
  font-size: clamp(44px, 6.6vw, 96px);
}
.home-company p { margin: 0 0 19px; max-width: 44ch; color: var(--brand-copy); }
.home-company h2 em { color: var(--red-deep); }
.home-page .contact .company-footer {
  margin: auto 0 0;
  padding-inline: 0;
  background: transparent;
  border-color: #c89e8f;
}
.home-page .contact-main .contact-address { text-decoration: underline; text-underline-offset: 4px; }

.company-page { background: var(--brand-paper); }
.company-main { padding-top: 82px; }
.company-container { width: 90%; max-width: 1320px; margin: 0 auto; }
.company-hero {
  padding: clamp(58px, 8vw, 112px) 0 clamp(36px, 6vw, 78px);
}
.company-hero h1 {
  margin: 0;
  max-width: 16ch;
  font: 500 clamp(48px, 8.15vw, 112px)/.94 var(--sans);
  letter-spacing: -.073em;
}
.company-hero h1 em { color: var(--red-deep); font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
.company-hero .company-lede {
  margin: 24px 0 0;
  max-width: 56ch;
  color: var(--brand-copy);
  font-size: clamp(16px, 1.65vw, 23px);
  line-height: 1.58;
}
.company-hero--media {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(235px, .64fr);
  gap: clamp(24px, 5.5vw, 88px);
  align-items: center;
}
.company-hero-media { margin: 0; }
.company-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  display: block;
  object-fit: cover;
  object-position: center 27%;
  border-radius: 13px;
}

.company-section { padding: 0 0 clamp(36px, 6vw, 80px); }
.company-section > h2 {
  margin: 0 0 20px;
  font-size: clamp(29px, 4.3vw, 54px);
}
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.2vw, 28px);
}
.company-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.company-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(20px, 3vw, 37px);
  border: 1px solid var(--brand-border);
  border-radius: 11px;
  background: var(--brand-card);
}
.company-card h2, .company-card h3 {
  margin: 0 0 12px;
  font: 600 clamp(22px, 3vw, 38px)/1.05 var(--sans);
  letter-spacing: -.042em;
}
.company-card p, .company-prose p, .company-steps p {
  color: var(--brand-copy);
  font-size: 16px;
  line-height: 1.64;
  margin: 0 0 12px;
}
.company-card p:last-child, .company-prose p:last-child, .company-steps p:last-child { margin-bottom: 0; }
.company-card .company-link { margin-top: auto; }
.company-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--red-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.company-link:hover { color: var(--ink); }
.company-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 22px;
  margin-top: 18px;
}
.company-actions .contact-button, .company-card .contact-button {
  margin-top: 0;
  border-radius: 3px;
  min-height: 48px;
}
.company-card .contact-button { margin-top: auto; }
.company-callout {
  padding: clamp(26px, 4vw, 52px);
  border-radius: 12px;
  background: #e8dac7;
}
.company-callout h2 { margin: 0 0 10px; font-size: clamp(29px, 4.3vw, 52px); }
.company-callout p { margin: 0; color: var(--brand-copy); max-width: 62ch; }
.company-prose > * { max-width: 72ch; }
.company-prose section, .company-steps li, .company-faq details {
  padding: 22px 0;
  border-top: 1px solid var(--brand-border);
}
.company-prose h2, .company-steps h3 {
  margin: 0 0 10px;
  font: 650 clamp(22px, 3vw, 33px)/1.15 var(--sans);
  letter-spacing: -.035em;
}
.company-prose address { font-style: normal; color: var(--brand-copy); line-height: 1.7; }
.company-prose a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 4px; }
.company-prose .company-note, .company-note {
  max-width: 72ch;
  padding: 14px 17px;
  border-left: 2px solid var(--red-deep);
  background: #eee3d1;
  color: var(--brand-copy);
}
.company-steps { margin: 0; max-width: 910px; }
.company-steps li { padding: 18px 6px; }
.company-steps li::marker { color: var(--red-deep); font-weight: 700; }
.company-faq { max-width: 870px; }
.company-faq summary { min-height: 27px; cursor: pointer; font-weight: 700; }
.company-faq details p { max-width: 66ch; margin: 12px 0 0; color: var(--brand-copy); }
.catalog-status[data-scope="available"] { color: #314e40; background: #e2e7d8; }
.catalog-status[data-scope="setup"] { color: #67392b; background: #efe0cf; }
.catalog-status[data-scope="pilot"] { color: #61483b; background: #efebe4; }
.brand-header :focus-visible, .company-main :focus-visible, .company-footer :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .brand-header .desktop-nav { display: none; }
  .brand-header .header-menu { display: block; }
  .brand-header .header-right { gap: 8px; }
  .brand-header .header-link { display: inline-flex; align-items: center; min-height: 40px; border-bottom: 0; text-decoration: underline; text-underline-offset: 5px; }
  .brand-header .language { gap: 0; }
  .brand-header .lang { min-width: 26px; }
  .company-main { padding-top: 74px; }
  .company-container { width: 88%; }
  .company-hero--media, .home-company { grid-template-columns: 1fr; }
  .home-company { padding-inline: 6%; }
  .company-hero-media img { aspect-ratio: 16 / 8; }
  .company-grid { grid-template-columns: 1fr; }
  .company-footer { grid-template-columns: 1fr 1fr; row-gap: 26px; padding-inline: 6%; }
  .footer-profile { grid-column: 1 / -1; }
}

@media (max-width: 365px) {
  .brand-header .header-right { gap: 4px; }
  .brand-header .header-menu summary { min-width: 39px; }
}

.home-page .hero .hero-content { max-width: 1040px; }
.home-page .hero h1 { font-size: clamp(58px, 7.55vw, 118px); }
.home-page .hero .hero-subhead { max-width: 58ch; }

.platform-overview {
  position: relative;
  z-index: 3;
  padding: clamp(55px, 7vw, 108px) 5%;
  border-radius: 30px 30px 0 0;
  background: var(--brand-paper);
  color: var(--ink);
  scroll-margin-top: 64px;
}
.platform-overview h2 {
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 83px);
}
.platform-overview h2 em { color: var(--red-deep); }
.platform-overview .company-card h3 { font-size: clamp(23px, 2.7vw, 36px); }
@media (max-width: 760px) {
  .home-page .hero h1 { font-size: clamp(43px, 10.8vw, 65px); }
  .home-page .hero .hero-subhead { max-width: 37ch; font-size: clamp(17px, 4.5vw, 20px); }
  .platform-overview { padding-inline: 6%; }
}

.contact-support { margin-top: 12px; }
.contact-options .contact-button { padding-inline: 20px; }
.contact-email { margin: 18px 0 0; color: var(--brand-copy); }
.contact-email a { color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }

.product-proof {
  position: relative;
  z-index: 3;
  padding: clamp(48px, 6vw, 90px) 5%;
  background: #e8dac7;
  scroll-margin-top: 72px;
}
.product-proof-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 13px 40px;
  align-items: end;
  margin-bottom: 24px;
}
.product-proof h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 86px);
}
.product-proof h2 em { color: var(--red-deep); }
.product-proof-heading p {
  max-width: 48ch;
  margin: 0;
  color: var(--brand-copy);
  line-height: 1.6;
}
.product-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .33fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 46px);
  align-items: start;
}
.product-proof-grid figure { min-width: 0; margin: 0; }
.product-proof-grid img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--brand-card);
  border: 1px solid var(--brand-border);
  border-radius: 10px;
}
.product-proof-guest img { max-width: 216px; }
.product-proof-guest > a { width: fit-content; }
.product-proof-grid a { display: block; cursor: zoom-in; }
.product-proof-studio img { aspect-ratio: 1120 / 476; object-fit: cover; object-position: top; }
.product-proof-grid figcaption { margin: 10px 0 0; color: var(--brand-copy); font-size: 14px; }

@media (max-width: 760px) {
  .product-proof { padding-inline: 6%; }
  .product-proof-heading, .product-proof-grid { grid-template-columns: 1fr; }
  .product-proof-grid { gap: 22px; }
  .product-proof-guest img { max-width: 178px; }
}
