.bio-body {
  --bio-paper: #f4efe6;
  --bio-card: #fcf8f1;
  --bio-text: #2d3027;
  --bio-muted: #57574a;
  --bio-line: #d6cfc0;
  --bio-accent: #414737;
  background: radial-gradient(ellipse at 8% 3%, #ede2d2 0, transparent 470px), var(--bio-paper);
  color: var(--bio-text);
}

.bio-page {
  max-width: 1240px;
  margin-inline: auto;
  padding: max(64px, env(safe-area-inset-top)) clamp(26px, 6vw, 82px) max(28px, env(safe-area-inset-bottom));
}
.bio-page svg { pointer-events: none; }
.bio-page a:focus-visible { outline: 2px solid #414737; outline-offset: 4px; }

.bio-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: center;
}
.bio-profile { display: grid; justify-items: center; }
.bio-portrait {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 4 / 5;
}
.bio-portrait-photo {
  display: block;
  width: 100%;
  height: 100%;
  background: #b2ada2;
  border-radius: 5px;
  object-fit: cover;
  object-position: 50% 20%;
}
.bio-portrait-mark {
  --bio-tag-rotation: -5deg;
  position: absolute;
  right: -20px;
  bottom: 5%;
  display: grid;
  place-items: center;
  width: 22%;
  aspect-ratio: 4 / 5;
  padding: 4.4% 3.7% 2.9%;
  background: linear-gradient(145deg, #fffcf5, #ede3d2);
  border: 1px solid #cbbca7;
  border-radius: 3px;
  box-shadow: inset 0 1px #fff8, 1px 2px #bdae97, 3px 6px 12px #30251b42;
  transform-origin: 42% 12%;
  transform: perspective(300px) rotate(var(--bio-tag-rotation)) rotateY(-12deg);
  pointer-events: none;
}
.bio-portrait-mark::before {
  content: "";
  position: absolute;
  top: 7%;
  left: 42%;
  width: 7%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #b4a288;
  box-shadow: inset 0 1px 2px #59483460, 0 1px #fff9;
  transform: translateX(-50%);
}
.bio-portrait-mark img {
  display: block;
  width: 100%;
  height: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .bio-portrait-mark { --bio-tag-rotation: calc(-5deg + var(--bio-tag-swing, 0deg)); }
}
.bio-intro { display: grid; justify-items: center; min-width: 0; text-align: center; padding-top: 23px; }
.bio-kicker { margin: 0; font: 650 10px/1.45 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--bio-muted); }
.bio-logo { margin: 12px 0 2px; }
.bio-logo img { display: block; width: clamp(134px, 15vw, 174px); height: auto; }
.bio-intro p { margin: 5px 0 15px; font-size: 13px; color: var(--bio-muted); }
.bio-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.bio-social a {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding-inline: 12px;
  border: 1px solid var(--bio-line); border-radius: 100px;
  font-size: 10px; font-weight: 650;
  transition: background-color .2s, border-color .2s, color .2s;
}
.bio-social svg { width: 17px; height: 17px; }
.bio-social a:hover { background: var(--bio-accent); color: var(--bio-card); border-color: var(--bio-accent); }

.bio-page h2 {
  font: 500 clamp(42px, 4.35vw, 66px)/.94 var(--serif);
  letter-spacing: -.05em;
  margin: 11px 0 10px;
}
.bio-page h2 em { color: #59604a; }
.bio-section-note { margin: 0 0 21px; color: var(--bio-muted); font-size: 13px; line-height: 1.55; }
.bio-list { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.bio-service {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  min-height: 75px; padding: 0 8px 0 0;
  background: var(--bio-card);
  border: 1px solid #e2d9c9;
  border-radius: 24px;
  box-shadow: 0 2px 6px #493d2510;
  transition: border-color .2s, background-color .2s;
}
.bio-service:focus-within, .bio-service:hover { border-color: #b5ad9b; background: #fffdf7; }
.bio-service-main {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 12px; min-height: 73px; padding: 8px 12px 8px 8px; border-radius: 23px;
}
.bio-thumb {
  display: block; width: 49px; height: 53px; object-fit: cover; object-position: 50% 29%;
  background: #d0c8bc; border-radius: 17px 17px 14px 14px;
}
.bio-service-copy { display: grid; gap: 3px; }
.bio-service-title { font: 630 clamp(23px, 2.4vw, 30px)/1 var(--serif); letter-spacing: -.025em; }
.bio-service-action { color: var(--bio-muted); font-size: 11px; line-height: 1.28; }
.bio-service-icon { width: 20px; height: 20px; color: var(--bio-accent); }
.bio-service-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 70px; min-height: 44px; padding: 5px 9px;
  border: 1px solid #e8e0d2; border-radius: 100px; background: #f2ece0;
  font: 650 10px/1.2 var(--sans); white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.bio-service-more svg { width: 13px; height: 13px; }
.bio-service-more:hover { background: var(--bio-accent); border-color: var(--bio-accent); color: var(--bio-card); }

.bio-site {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 61px; margin-top: 15px; padding: 10px 19px;
  background: var(--bio-accent); color: var(--bio-card); border-radius: 100px;
  transition: background-color .2s;
}
.bio-site:hover { background: #30372b; }
.bio-site-label { font: 570 clamp(24px, 2.8vw, 31px)/1.08 var(--serif); letter-spacing: -.02em; }
.bio-site svg { flex: 0 0 22px; width: 22px; height: 22px; }

.bio-stories {
  margin-block: clamp(56px, 8.1vw, 110px) clamp(38px, 5.5vw, 72px);
  padding-top: clamp(26px, 4.6vw, 58px); border-top: 1px solid var(--bio-line);
}
.bio-stories-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px 20px; margin-bottom: 23px; }
.bio-stories-heading h2 { margin-bottom: 0; }
.bio-text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; flex-shrink: 0;
  font-size: 12px; font-weight: 650;
}
.bio-text-link svg, .bio-story svg { width: 15px; height: 15px; }
.bio-text-link:hover { text-decoration: underline; text-underline-offset: .27em; }

.bio-gallery {
  display: grid;
  grid-template-columns: 1fr 1.22fr .86fr;
  align-items: end;
  gap: clamp(10px, 2vw, 27px);
}
.bio-story { display: block; min-width: 0; border-radius: 24px; }
.bio-story figure { margin: 0; }
.bio-story img {
  display: block; width: 100%; height: clamp(180px, 22vw, 310px);
  object-fit: cover; background: #d4cbba; border-radius: 26px;
}
.bio-story-studio img { object-position: 50% 53%; }
.bio-story-detail img { height: clamp(150px, 19.2vw, 268px); object-position: 48% 51%; }
.bio-story-bride img { height: clamp(166px, 20.8vw, 291px); object-position: 50% 34%; }
.bio-story figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  min-height: 44px; padding: 5px 5px 0; color: var(--bio-muted); font-size: 11px; font-weight: 650;
}
.bio-story:hover figcaption { color: var(--bio-text); text-decoration: underline; text-underline-offset: .26em; }

.bio-location {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.12fr);
  align-items: center; gap: 26px;
  padding: clamp(15px, 2.4vw, 27px);
  border: 1px solid #e2d9c9; border-radius: 34px; background: #eee7da;
  scroll-margin-top: 24px;
}
.bio-location-copy { padding: clamp(10px, 2.5vw, 26px); }
.bio-pin {
  display: grid; place-items: center; width: 43px; height: 43px;
  margin-bottom: 13px; color: var(--bio-accent); border: 1px solid #c8c0af; border-radius: 50%;
}
.bio-pin svg { width: 21px; height: 21px; }
.bio-location h2 { font-size: clamp(37px, 3.9vw, 58px); }
.bio-location address { margin: 15px 0 16px; color: var(--bio-muted); font-size: 13px; font-style: normal; line-height: 1.65; }
.bio-directions {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding-inline: 15px;
  color: var(--bio-card); background: var(--bio-accent); border-radius: 100px;
  font: 650 12px/1.2 var(--sans); transition: background-color .2s;
}
.bio-directions:hover { background: #30372b; }
.bio-directions svg { width: 15px; height: 15px; }
.bio-map { overflow: hidden; background: #d7d2c4; border-radius: 22px; }
.bio-map iframe { display: block; width: 100%; height: clamp(252px, 29vw, 345px); border: 0; }

.bio-footer {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 27px; padding-top: 18px; border-top: 1px solid var(--bio-line);
  color: var(--bio-muted); font-size: 14px;
}
.bio-footer-social img { width: 24px; height: auto; }
.bio-footer a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.bio-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }

@media (max-width: 740px) {
  .bio-page {
    max-width: 550px;
    padding-inline: max(19px, env(safe-area-inset-left)) max(19px, env(safe-area-inset-right));
    padding-top: max(31px, env(safe-area-inset-top));
  }
  .bio-shell { display: block; }
  .bio-profile {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
    gap: clamp(12px, 4.5vw, 25px); align-items: center;
    margin: 0 0 30px; padding: 0 2px 27px; border-bottom: 1px solid var(--bio-line);
  }
  .bio-portrait { width: min(100%, 190px); aspect-ratio: 5 / 6; }
  .bio-portrait-mark { right: -8px; }
  .bio-intro { padding-top: 0; }
  .bio-kicker { font-size: 9px; letter-spacing: .11em; }
  .bio-logo { margin: 8px 0 0; transform: translateX(clamp(5px, 10vw - 27px, 12px)); }
  .bio-logo img { width: min(100%, 151px); }
  .bio-intro p { font-size: 11px; line-height: 1.4; margin: 2px 0 8px; }
  .bio-social { flex-wrap: nowrap; gap: 6px; }
  .bio-social a { width: 44px; padding: 0; }
  .bio-social a span { display: none; }
  .bio-social svg { width: 18px; height: 18px; }
  .bio-page h2 { font-size: clamp(39px, 10.65vw, 50px); }
  .bio-section-note { margin-bottom: 16px; font-size: 12px; }
  .bio-service { min-height: 68px; border-radius: 21px; padding-right: 7px; }
  .bio-service-main { gap: 9px; min-height: 66px; padding-right: 8px; border-radius: 20px; }
  .bio-thumb { width: 45px; height: 49px; border-radius: 14px; }
  .bio-service-icon { width: 18px; height: 18px; }
  .bio-service-more { min-width: 61px; padding-inline: 6px; }
  .bio-site { margin-top: 13px; min-height: 57px; }
  .bio-stories { margin-block: 43px 34px; padding-top: 27px; }
  .bio-stories-heading { display: block; margin-bottom: 11px; }
  .bio-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 2px 12px; }
  .bio-story { border-radius: 19px; }
  .bio-story-studio { grid-column: 1 / -1; }
  .bio-story-studio img { height: clamp(167px, 50vw, 247px); object-position: 50% 46%; }
  .bio-story-detail img, .bio-story-bride img { height: clamp(130px, 42vw, 198px); }
  .bio-story img { border-radius: 19px; }
  .bio-story figcaption { min-height: 40px; }
  .bio-location { display: block; border-radius: 27px; padding: 12px; }
  .bio-location-copy { padding: 10px 9px 18px; }
  .bio-location h2 { font-size: clamp(36px, 10.3vw, 48px); }
  .bio-map { border-radius: 17px; }
  .bio-map iframe { height: 252px; }
  .bio-footer { margin-top: 16px; }
}

@media (max-width: 360px) {
  .bio-page { padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right)); }
  .bio-profile { gap: 10px; }
  .bio-portrait-mark { right: 0; bottom: 0; }
  .bio-service-title { font-size: 23px; }
  .bio-service-main { gap: 7px; }
  .bio-thumb { width: 37px; height: 48px; }
  .bio-service-more { min-width: 55px; padding-inline: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .bio-page a, .bio-service { transition: none; }
}
