/* Company profile: overview, service selection, sample review and visiting. */
.about-page {
  --about-nav-height: 66px;
  --about-space: clamp(64px, 7vw, 116px);
  background: #fff;
  overflow-wrap: anywhere;
}
.about-page :is(.overview-heading, .service-showcase, .yarn-story, .sample-method-grid, .sample-checks li, .visit-layout) > * { min-width: 0; }
.about-page [data-about-section],
.about-page .service-item { scroll-margin-top: calc(var(--about-nav-height) + 24px); }
.about-page p.about-label {
  margin: 0 0 16px;
  color: var(--forest);
  font-size: var(--type-label);
  font-weight: 650;
  line-height: 1.5;
}
.about-page h2 { font-weight: 680; }
.about-nav {
  position: sticky;
  z-index: 3;
  top: 0;
  border-bottom: 1px solid #dce3e8;
  background: #fff;
}
.about-nav > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--about-nav-height);
  padding: 12px 6px;
  color: var(--mute);
  font-size: var(--type-link);
  font-weight: 600;
  transition: color .2s ease;
}
.about-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  background: var(--forest);
  transform: scaleX(0);
  transition: transform .28s ease;
}
.about-nav a[aria-current] { color: var(--forest); }
.about-nav a[aria-current]::after { transform: scaleX(1); }
.about-nav a:hover { color: var(--forest); }
.about-nav a:focus-visible { outline-offset: -6px; }
.about-overview { padding-block: clamp(44px, 5vw, 86px) var(--about-space); }
.overview-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}
.overview-heading h2 { max-width: 14em; }
.overview-copy > p { margin: 0; font-size: var(--type-lead); line-height: 1.85; }
.about-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 24px; }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-size: var(--type-link);
  font-weight: 550;
  line-height: 1.5;
  transition: color .2s ease;
}
.about-link span {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .2s ease;
}
.about-link .site-icon { width: 16px; height: 16px; flex: 0 0 16px; transition: transform .2s ease; }
.about-link:is(:hover, :focus-visible) { color: var(--forest); }
.about-link:is(:hover, :focus-visible) span { text-decoration-color: currentColor; }
.about-link:hover .site-icon { transform: translateX(2px); }
.about-link[href^="#"]:hover .site-icon { transform: translateY(2px); }
.overview-photo {
  aspect-ratio: 2.8;
  overflow: hidden;
  margin-top: clamp(30px, 4vw, 64px);
  background: #d9c9b7;
  border-radius: 6px;
}
.overview-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 51%;
  transition: transform 1.1s cubic-bezier(.2,.65,.3,1);
}
.overview-photo.will-reveal:not(.is-visible) img { transform: scale(1.045); }
.about-offer { padding-block: var(--about-space); background: #eff4f8; }
.about-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px 50px;
  margin-bottom: clamp(28px, 3.4vw, 54px);
}
.about-section-heading > p { max-width: 31em; margin: 0; font-size: var(--type-lead); }
.service-showcase { position: relative; }
.service-visual-stage { display: none; }
.service-item.has-disclosure-motion > .disclosure-content { display: flow-root; }
.service-item { border-top: 1px solid #c8d4df; }
.service-item:last-of-type { border-bottom: 1px solid #c8d4df; }
.service-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 23px;
  cursor: pointer;
  list-style: none;
}
.service-item summary::-webkit-details-marker { display: none; }
.service-item summary::marker { content: ''; }
.service-item summary h3 { font-size: var(--type-card); font-weight: 600; transition: color .2s ease; }
.service-code { display: block; margin-bottom: 5px; color: var(--mute); font-size: 13px; font-weight: 500; letter-spacing: .01em; line-height: 1.4; }
.service-item[open] summary h3, .service-item summary:hover h3 { color: var(--forest); }
.service-item .ed-toggle { width: 16px; height: 16px; }
.service-item .ed-toggle::before, .service-item .ed-toggle::after { height: 1px; }
.service-item[open] .ed-toggle::after { transform: rotate(0deg); }
.service-item.has-disclosure-motion[data-expanded="false"] summary:not(:hover) h3 { color: var(--ink); }
.service-item.has-disclosure-motion[data-expanded="false"] .ed-toggle::after { transform: rotate(90deg); }
.service-detail-copy { padding: 0 32px 23px 0; }
.service-detail-copy > p { margin: 0; max-width: 32em; line-height: 1.85; }
.service-detail-copy .about-link { margin-top: 16px; color: var(--forest); }
.service-example { position: relative; aspect-ratio: 1.15; margin-bottom: 24px; overflow: hidden; border-radius: 6px; background: #e0dbd3; }
.service-example img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-example figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 5px 11px;
  border-radius: 3px;
  background: rgb(255 255 255 / .93);
  color: #39424c;
  font-size: 13px;
}
.yarn-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 112px);
  padding-block: var(--about-space);
}
.yarn-copy .ed-lead { max-width: 28em; }
.yarn-copy .about-link { margin-top: 24px; color: var(--forest); }
.yarn-visual { position: relative; background: #f5f6f4; border-radius: 6px; overflow: hidden; }
.yarn-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}
.yarn-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid #c4ced5;
  border-radius: 99px;
  background: #fff;
  font-size: var(--type-link);
  font-weight: 600;
}
.yarn-zoom span { font-size: 24px; line-height: 1; color: var(--forest); }
.sample-method { background: #162f48; color: white; }
.sample-method-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(38px, 8vw, 130px);
  padding-block: var(--about-space);
}
.sample-method-heading { position: sticky; top: calc(var(--about-nav-height) + 50px); }
.sample-method h2, .sample-method h3 { color: #fff; }
.sample-method .ed-lead, .sample-checks p { color: #d2dce6; }
.sample-method .about-link { margin-top: 24px; color: #c8e4ff; }
.sample-method .sample-consult { margin-top: 24px; background: white; color: #162f48; font-size: var(--type-link); }
.sample-checks { list-style: none; margin: 0; padding: 0; }
.sample-checks li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 24px;
  padding-block: clamp(28px, 4vw, 64px);
  border-top: 1px solid #53677c;
  transition: border-color .35s ease;
}
.sample-checks li:first-child { padding-top: 0; border-top: none; }
.sample-checks li:last-child { padding-bottom: 0; }
.sample-check-number {
  position: relative;
  color: #bbd2e8;
  font-size: var(--type-subtitle);
  font-weight: 500;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
  transition: color .35s ease;
}
.sample-check-number::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-top: 16px;
  background: #78baff;
  transform: scaleX(.25);
  transform-origin: left;
  transition: transform .4s ease;
}
.sample-checks h3 { font-size: var(--type-card); font-weight: 620; }
.sample-checks p { margin: 14px 0 0; line-height: 1.85; }
.sample-checks .is-current { border-color: #93b9df; }
.sample-checks .is-current .sample-check-number { color: #fff; }
.sample-checks .is-current .sample-check-number::after { transform: scaleX(1); }
.about-visit { padding-block: var(--about-space); }
.visit-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; background: #f1f5f8; border-radius: 6px; overflow: hidden; }
.visit-card { padding: clamp(26px, 3.5vw, 56px); }
.visit-card h3 { font-size: var(--type-subtitle); }
.visit-card .visit-details { margin-block: 24px; }
.visit-card .visit-details > div { display: block; padding-block: 14px; }
.visit-card .visit-details dt { margin-bottom: 5px; color: #53616d; font-size: 14px; font-weight: 500; }
.visit-card .visit-details dd { font-weight: 550; }
.visit-card .visit-phone { font-size: var(--type-card); }
.visit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.visit-actions .pill { font-size: var(--type-link); }
.visit-actions .about-link { color: var(--forest); }
.visit-layout .visit-map { height: 100%; min-height: 460px; border: 0; border-radius: 0; }
.copy-address {
  display: block;
  min-height: 36px;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: var(--forest);
  padding: 4px 0;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.copy-status { display: block; color: var(--forest); font-size: 14px; font-weight: 400; }
.yarn-dialog { width: min(900px, 94vw); max-height: 92dvh; padding: 20px; border: 0; border-radius: 8px; background: #fff; }
.yarn-dialog::backdrop { background: rgb(12 26 40 / .8); backdrop-filter: blur(4px); }
.yarn-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.yarn-dialog-heading h2 { margin: 0; }
.yarn-dialog .close { display: flex; align-items: center; gap: 12px; border: 0; border-radius: 4px; background: #edf3f8; padding: 8px 14px; min-height: 44px; font-size: 15px; white-space: nowrap; }
.yarn-dialog .close span { font-size: 23px; }
.yarn-dialog > img { display: block; width: 100%; height: auto; max-height: 76dvh; object-fit: contain; }
.about-page .pill svg { transition: transform .22s ease; }
.about-page .pill:hover svg { transform: translateX(3px); }
.about-page .pill { transition: box-shadow .22s ease, transform .22s ease; }
.about-page .pill:hover { box-shadow: 0 6px 18px rgb(0 50 95 / .14); transform: translateY(-2px); }
.about-page .pill:active { transform: translateY(0); }
.about-page .will-reveal { transition: opacity .65s ease, transform .65s cubic-bezier(.2,.65,.3,1); }
.about-page .will-reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.about-page .will-reveal:focus-within { opacity: 1; transform: none; }
@media (min-width: 741px) {
  .about-page .ed-wrap { padding-inline: max(var(--pad), var(--dock-clearance)); }
}
@media (min-width: 901px) {
  .service-showcase.services-interactive { padding-right: 55%; }
  .services-interactive .service-detail > .service-example { display: none; }
  .service-visual-stage { display: block; position: absolute; inset: 0 0 0 auto; width: 47%; }
  .service-visual-stage .service-example { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; opacity: 0; visibility: hidden; transition: opacity .4s cubic-bezier(.22,.61,.36,1), visibility 0s linear .4s; }
  .service-visual-stage .service-example.is-current { opacity: 1; visibility: visible; transition-delay: 0s; }
}
@media (max-width: 1024px) {
  .sample-method-grid { gap: 42px; }
  .sample-checks li { column-gap: 18px; }
  .visit-layout { grid-template-columns: 1fr 1fr; }
  .visit-card { padding: 28px; }
}
@media (max-width: 900px) {
  .about-section-heading { display: block; }
  .about-section-heading > p { margin-top: 16px; font-size: var(--type-body); }
}
@media (max-width: 740px) {
  .about-page { --about-nav-height: 56px; --about-space: 60px; }
  .about-nav .ed-wrap { padding-inline: 12px; }
  .about-nav a { font-size: 14px; padding-inline: 3px; }
  .overview-heading { grid-template-columns: 1fr; gap: 24px; }
  .overview-heading, .about-section-heading, .yarn-copy, .sample-method-grid { padding-right: max(0px, calc(var(--dock-clearance) - var(--pad))); }
  .sample-method-grid { padding-right: max(var(--pad), var(--dock-clearance)); }
  .overview-heading h2 br { display: none; }
  .overview-copy > p { font-size: var(--type-body); }
  .about-links { gap: 4px 20px; margin-top: 20px; }
  .overview-photo { aspect-ratio: 1.5; }
  .service-item summary { padding-right: max(0px, calc(var(--dock-clearance) - var(--pad))); padding-block: 20px; }
  .service-detail-copy { padding-right: max(0px, calc(var(--dock-clearance) - var(--pad))); }
  .service-example { aspect-ratio: 1.3; }
  .service-example figcaption { right: max(16px, calc(var(--dock-clearance) - var(--pad))); }
  .yarn-story { grid-template-columns: 1fr; gap: 32px; }
  .yarn-zoom { right: max(16px, calc(var(--dock-clearance) - var(--pad))); }
  .sample-method-grid { grid-template-columns: 1fr; gap: 42px; }
  .sample-method-heading { position: static; }
  .sample-method-heading h2 br { display: none; }
  .sample-checks li { grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; padding-block: 30px; }
  .visit-layout { grid-template-columns: 1fr; }
  .visit-card { padding: 28px max(24px, calc(var(--dock-clearance) - var(--pad))) 30px 24px; }
  .visit-layout .visit-map { min-height: 310px; height: 350px; }
  .yarn-dialog { padding: 16px; }
}
@media (min-width: 741px) and (max-height: 650px) {
  .sample-method-heading { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .service-visual-stage .service-example, .service-item .ed-toggle::after { transition: none; }
  .about-page .will-reveal:not(.is-visible) { opacity: 1; transform: none; }
  .overview-photo.will-reveal:not(.is-visible) img { transform: none; }
  .about-link:hover .site-icon, .about-link[href^="#"]:hover .site-icon { transform: none; }
  .about-page .pill:hover, .about-page .pill:hover svg { transform: none; }
}
@media print {
  .about-nav, .yarn-zoom, .copy-address { display: none; }
  .service-showcase.services-interactive { padding-right: 0; min-height: 0; }
  .service-visual-stage { display: none; }
  .services-interactive .service-detail > .service-example { display: block; position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1.3; margin-bottom: 24px; }
  .about-page .will-reveal { opacity: 1 !important; transform: none !important; }
  .sample-method-heading { position: static; }
}
