/* Puget profile surfaces use the site's coastal blue tokens and existing fonts. */
.puget-profile {
  --profile-ink: var(--text, #102f43);
  --profile-muted: var(--text-secondary, #506877);
  --profile-blue: var(--action, #1e4a68);
  --profile-tint: var(--surface-tint, #e9f2f6);
  --profile-paper: var(--surface-raised, #fff);
  --profile-rule: var(--rule, #d5e2e8);
  --profile-shadow: 0 16px 42px rgb(16 47 67 / 7%);
  box-sizing: border-box;
  width: min(var(--max, 1320px), calc(100% - 48px));
  margin-inline: auto;
  padding-bottom: 2.5rem;
  color: var(--profile-ink);
  font-family: var(--body, Geist, system-ui, sans-serif);
}

.puget-profile *,
.puget-profile *::before,
.puget-profile *::after { box-sizing: border-box; }

.puget-profile a { color: var(--profile-blue); text-underline-offset: .2em; }
.puget-profile :focus-visible { outline: 3px solid #b47722; outline-offset: 3px; }
.puget-profile__breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; padding-block:.65rem; margin-block:0 1rem; }
.puget-profile__breadcrumb a { display:inline-flex; align-items:center; min-height:48px; }

.puget-profile__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  padding: clamp(1.25rem, 2.6vw, 2.25rem);
  border: 1px solid #d7e5eb;
  border-radius: 24px;
  background:
    linear-gradient(118deg, rgb(255 255 255 / 82%), transparent 65%),
    var(--profile-tint);
}

.puget-profile__identity { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.4rem); min-width: 0; }
.puget-profile .profile-logo {
  display: block;
  flex: 0 0 min(27%, 15rem);
  width: min(27%, 15rem);
  height: clamp(5.25rem, 10vw, 8rem);
  padding: .85rem;
  border: 1px solid #dbe5e9;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
}
.puget-profile__initial {
  display: grid;
  flex: 0 0 clamp(5.25rem, 10vw, 8rem);
  width: clamp(5.25rem, 10vw, 8rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #cfdee5;
  border-radius: 20px;
  background: #fff;
  color: var(--profile-blue);
  font: 500 clamp(2.7rem, 5vw, 4.25rem)/1 var(--display, Outfit, system-ui, sans-serif);
}
.puget-profile__identity-copy { min-width: 0; }
.puget-profile__identity-copy > .eyebrow { margin: 0 0 .55rem; color: var(--profile-blue); }
.puget-profile h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--profile-ink);
  font: 520 clamp(2.45rem, 5.2vw, 4.75rem)/.99 var(--display, Outfit, system-ui, sans-serif);
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.puget-profile__location { margin: .75rem 0 0; color: var(--profile-muted); font-size: 1rem; line-height: 1.55; }
.puget-profile__location-kind { color: var(--profile-muted); }

.puget-profile__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .55rem;
  margin-top: 1.2rem;
}
.puget-profile__trust-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .2rem .55rem;
  max-width: 27rem;
  padding: .55rem .75rem;
  border: 1px solid #cfdee5;
  border-radius: 12px;
  background: rgb(255 255 255 / 82%);
}
.puget-profile__trust-label {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  color: #17523d;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}
.puget-profile__trust-label::before {
  content: "✓";
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: .4rem;
  place-items: center;
  border: 1px solid #9bbdaf;
  border-radius: 50%;
  background: #eef6f1;
  color: #17523d;
  font-size: .72rem;
}
.puget-profile__trust-item p,
.puget-profile__trust-item details { grid-column: 1 / -1; margin: 0; color: var(--profile-muted); font-size: .75rem; line-height: 1.55; }
.puget-profile__trust-item details summary { display: inline-flex; align-items: center; min-height: 48px; color: var(--profile-blue); cursor: pointer; font-weight: 650; text-underline-offset: .18em; }
.puget-profile__trust-item details p { margin-top: .25rem; }

.puget-profile__tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; align-self: start; }
.puget-profile__tools > .button { display: inline-flex; min-width: 9.5rem; min-height: 48px; align-items: center; justify-content: center; gap: .45rem; padding: .65rem .95rem; border: 1px solid #a8bfcb; border-radius: 12px; background: #fff; color: var(--profile-blue); font: 650 .86rem/1.25 var(--body, Geist, system-ui, sans-serif); cursor: pointer; }
.puget-profile__tools > .button:hover:not(:disabled) { background: #f0f6f8; }
.puget-profile__tools > .button[aria-pressed="true"] { border-color: #87ac9b; background: #edf6f1; color: #174d3b; }
.puget-profile__tools > .button:disabled { opacity: .68; cursor: not-allowed; }
.puget-profile__share-fallback { flex-basis: 100%; max-width: 22rem; margin-left: auto; }
.puget-profile__share-fallback summary { min-height: 48px; color: var(--profile-blue); cursor: pointer; font-size: .8rem; font-weight: 650; }
.puget-profile__share-fallback label { display: block; margin-bottom: .3rem; color: var(--profile-muted); font-size: .75rem; }
.puget-profile__share-fallback input { width: 100%; min-height: 48px; padding: .65rem .75rem; border: 1px solid #a8bfcb; border-radius: 9px; background: #fff; color: var(--profile-ink); font: .85rem var(--body, Geist, system-ui, sans-serif); }
.puget-profile__enhancement-status:empty { display: none; }
.puget-profile__enhancement-status { grid-column: 1 / -1; margin: .2rem 0 0; color: #234f64; font-size: .82rem; line-height: 1.5; }

.puget-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 20rem);
  grid-template-areas: "content contact";
  align-items: start;
  gap: clamp(2rem, 5vw, 4.75rem);
  padding-block: clamp(2rem, 4vw, 3.6rem) 2rem;
}
.puget-profile__content { grid-area: content; min-width: 0; }
.puget-profile__contact {
  grid-area: contact;
  position: sticky;
  top: 1.5rem;
  align-self: start;
  padding: 1.3rem;
  border: 1px solid #d5e2e8;
  border-radius: 18px;
  background: var(--profile-paper);
  box-shadow: var(--profile-shadow);
}
.puget-profile__contact > .eyebrow { margin: 0 0 .7rem; color: var(--profile-blue); }
.puget-profile__contact h2 { margin: 0; font: 520 1.72rem/1.12 var(--display, Outfit, system-ui, sans-serif); letter-spacing: -.035em; }
.puget-profile__contact > p:not(.eyebrow) { margin: .7rem 0 1rem; color: var(--profile-muted); font-size: .86rem; line-height: 1.6; }
.puget-profile__contact-actions { display: grid; gap: .55rem; }
.puget-profile__contact-actions > a { display: flex; min-height: 50px; align-items: center; justify-content: center; gap: .45rem; padding: .72rem .85rem; border: 1px solid #a8bfcb; border-radius: 11px; color: var(--profile-blue); font-size: .84rem; font-weight: 680; line-height: 1.35; text-align: center; text-decoration: none; }
.puget-profile__contact-actions > a:hover { background: #f0f6f8; }
.puget-profile__contact-actions > a[data-profile-project] { min-height: 54px; border-color: var(--profile-blue); background: var(--profile-blue); color: #fff; }
.puget-profile__contact-actions > a[data-profile-project]:hover { background: #153c55; color: #fff; }
.puget-profile__owner-path { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--profile-rule); }
.puget-profile__owner-path h3 { margin: 0; font: 650 1rem/1.35 var(--display, Outfit, system-ui, sans-serif); }
.puget-profile__owner-path p,
.puget-profile__contact .puget-profile__correction { margin: .3rem 0 0; color: var(--profile-muted); font-size: .77rem; line-height: 1.5; }
.puget-profile__contact .text-link { display: inline-flex; min-height: 48px; align-items: center; font-size: .78rem; }
.puget-profile__contact .puget-profile__correction { margin-top: .65rem; }

.puget-profile__section { padding-block: 1.8rem; border-top: 1px solid var(--profile-rule); }
.puget-profile__section h2 { margin: 0 0 .85rem; color: var(--profile-ink); font: 520 clamp(1.5rem, 2.5vw, 2rem)/1.15 var(--display, Outfit, system-ui, sans-serif); letter-spacing: -.03em; }
.puget-profile__section p,
.puget-profile__section li { max-width: 68ch; color: #344f5e; font-size: .98rem; line-height: 1.75; }
.puget-profile__section p { margin: .65rem 0; }
.puget-profile__section small { display: block; max-width: 68ch; color: var(--profile-muted); font-size: .8rem; line-height: 1.65; }
.puget-profile__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1.75rem; padding-left: 1.25rem; }
.puget-profile__hours { margin: 0; }
.puget-profile__hours > div { display: grid; grid-template-columns: minmax(8rem, .7fr) minmax(0, 1fr); gap: .75rem; padding-block: .55rem; border-bottom: 1px solid #e3ebef; }
.puget-profile__hours dt { color: var(--profile-ink); font-weight: 650; }
.puget-profile__hours dd { margin: 0; color: var(--profile-muted); }
.puget-profile__faq { border-top: 1px solid #e3ebef; }
.puget-profile__faq:last-child { border-bottom: 1px solid #e3ebef; }
.puget-profile__faq summary { display: flex; min-height: 52px; align-items: center; padding-block: .6rem; color: var(--profile-ink); font-weight: 650; cursor: pointer; }
.puget-profile__faq p { padding: 0 0 .6rem; margin: 0; }
.puget-profile__record-details dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .8rem 1.4rem; margin: 0; }
.puget-profile__record-details dl > div { min-width: 0; }
.puget-profile__record-details dt { color: var(--profile-muted); font-size: .75rem; font-weight: 650; }
.puget-profile__record-details dd { margin: .2rem 0 0; color: var(--profile-ink); font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.puget-profile__note { margin: 1rem 0 0; padding: .9rem 1rem; border-left: 3px solid #8caebf; background: #f2f7f9; color: var(--profile-muted); font-size: .82rem; line-height: 1.6; }

.puget-profile__gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(8.5rem, 15vw, 13rem);
  gap: .8rem;
  margin-bottom: 1rem;
}
.puget-profile__photo { min-width: 0; min-height: 0; margin: 0; overflow: hidden; border-radius: 15px; background: #e5eef2; }
.puget-profile__photo:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.puget-profile__photo:nth-child(2),
.puget-profile__photo:nth-child(3) { grid-column: span 5; }
.puget-profile__photo:nth-child(4) { grid-column: 1 / -1; }
.puget-profile__photo a { display: block; width: 100%; height: 100%; min-height: 48px; overflow: hidden; }
.puget-profile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.puget-profile__photo a:hover img { transform: scale(1.025); }
.puget-profile__photo figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.puget-profile__lightbox {
  width: min(1080px, calc(100vw - 28px));
  max-width: none;
  max-height: 94dvh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: #fff;
}
.puget-profile__lightbox::backdrop { background: rgb(7 28 41 / 88%); }
.puget-profile__lightbox-frame {
  display: grid;
  grid-template-columns: minmax(48px, auto) minmax(0, 1fr) minmax(48px, auto);
  grid-template-rows: auto minmax(0, 1fr);
  align-items: center;
  gap: .45rem;
  max-height: 94dvh;
  padding: .75rem;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 16px;
  background: #0e2b3c;
  box-shadow: 0 24px 72px rgb(0 0 0 / 32%);
}
.puget-profile__lightbox button { display: inline-flex; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; padding: .5rem .7rem; border: 1px solid rgb(255 255 255 / 30%); border-radius: 9px; background: #173d53; color: #fff; font: 650 .82rem var(--body, Geist, system-ui, sans-serif); cursor: pointer; }
.puget-profile__lightbox button:hover { background: #22516c; }
.puget-profile__lightbox-close { grid-column: 3; grid-row: 1; justify-self: end; }
.puget-profile__lightbox-prev { grid-column: 1; grid-row: 2; }
.puget-profile__lightbox-next { grid-column: 3; grid-row: 2; }
.puget-profile__lightbox figure { grid-column: 2; grid-row: 2; min-width: 0; margin: 0; text-align: center; }
.puget-profile__lightbox-image { display: block; width: 100%; max-height: min(76dvh, 760px); border-radius: 9px; background: #122e3f; object-fit: contain; }
.puget-profile__lightbox figcaption { min-height: 2.4rem; padding: .55rem .25rem 0; color: #e1edf2; font-size: .9rem; line-height: 1.5; }

@media (max-width: 850px) {
  .puget-profile { width: calc(100% - 40px); }
  .puget-profile__header { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .puget-profile__tools { justify-content: flex-start; }
  .puget-profile__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "contact" "content"; gap: 1.1rem; }
  .puget-profile__contact { position: static; }
  .puget-profile__contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .puget-profile__contact-actions > a[data-profile-project] { grid-column: 1 / -1; }
  .puget-profile__contact-actions > a { min-height: 50px; }
  .puget-profile__content { grid-row: 2; }
}

@media (max-width: 560px) {
  .puget-profile { width: calc(100% - 32px); padding-bottom: 1.5rem; }
  .puget-profile__breadcrumb { padding-block: .65rem; }
  .puget-profile__header { padding: 1.2rem; border-radius: 18px; }
  .puget-profile__identity { align-items: flex-start; gap: .85rem; }
  .puget-profile .profile-logo,
  .puget-profile__initial { flex-basis: 4.25rem; width: 4.25rem; height: 4.25rem; border-radius: 12px; padding: .35rem; }
  .puget-profile__initial { font-size: 2.35rem; }
  .puget-profile h1 { font-size: clamp(2rem, 9vw, 2.85rem); }
  .puget-profile__location { margin-top: .45rem; font-size: .88rem; }
  .puget-profile__trust { gap: .4rem; margin-top: .8rem; }
  .puget-profile__trust-item { width: 100%; max-width: none; }
  .puget-profile__tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .puget-profile__tools > .button { min-width: 0; width: 100%; padding-inline: .45rem; font-size: .78rem; }
  .puget-profile__share-fallback { grid-column: 1 / -1; }
  .puget-profile__layout { padding-top: 1.1rem; }
  .puget-profile__contact { padding: 1rem; border-radius: 14px; box-shadow: 0 8px 24px rgb(16 47 67 / 6%); }
  .puget-profile__contact h2 { font-size: 1.45rem; }
  .puget-profile__contact > p:not(.eyebrow) { margin-block: .45rem .7rem; font-size: .8rem; }
  .puget-profile__contact-actions { gap: .45rem; }
  .puget-profile__contact-actions > a { min-height: 50px; padding-inline: .5rem; font-size: .78rem; }
  .puget-profile__section { padding-block: 1.35rem; }
  .puget-profile__section h2 { font-size: 1.5rem; }
  .puget-profile__section p,
  .puget-profile__section li { font-size: .9rem; }
  .puget-profile__list { grid-template-columns: 1fr; gap: .1rem; }
  .puget-profile__record-details dl { grid-template-columns: 1fr; gap: .65rem; }
  .puget-profile__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(8rem, 36vw, 11rem); gap: .55rem; }
  .puget-profile__photo:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .puget-profile__photo:nth-child(2),
  .puget-profile__photo:nth-child(3) { grid-column: auto; }
  .puget-profile__photo:nth-child(4) { grid-column: 1 / -1; }
  .puget-profile__lightbox-frame { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: .3rem; padding: .45rem; border-radius: 12px; }
  .puget-profile__lightbox button { min-width: 48px; padding-inline: .25rem; font-size: .72rem; }
  .puget-profile__lightbox-image { max-height: 72dvh; }
}

@media (prefers-reduced-motion: reduce) {
  .puget-profile *,
  .puget-profile *::before,
  .puget-profile *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Keep identity and contact in the first viewport; detailed evidence belongs with the profile. */
.puget-profile__badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.puget-profile__badge{display:inline-flex;align-items:center;gap:.5rem;min-height:48px;padding:.45rem .85rem;border:1px solid #b9d0dd;border-radius:999px;background:#fff;color:#1e4a68;font-size:.8rem;font-weight:650;text-decoration:none}
.puget-profile__badge--verified{border-color:#b5cebf;background:#f0f7f2;color:#17523d}
.puget-profile__trust-section .puget-profile__trust{margin-top:0;margin-bottom:.5rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.puget-profile__trust-section .puget-profile__trust-item{max-width:none;padding:1rem}
@media(max-width:700px){.puget-profile__trust-section .puget-profile__trust{grid-template-columns:1fr}.puget-profile__header{gap:1rem}.puget-profile__tools{justify-content:flex-start}.puget-profile__share-fallback{margin-left:0}}

.puget-profile__tools [data-profile-primary-request]{flex-basis:100%;min-height:52px;background:#1e4a68;border-color:#1e4a68;color:white;border-radius:12px;justify-content:center;font-weight:650}
.puget-profile__tools [data-profile-primary-request]:hover{background:#102f43}

@media(max-width:560px){.puget-profile__tools [data-profile-primary-request]{grid-column:1 / -1}}

.puget-profile__badge--member,.puget-profile__badge--founder{background:#fcf4df;border-color:#d7bc7b;color:#674b17}
