:root {
  color-scheme: light;
  font: 16px/1.45 Arial, sans-serif;
  --paper: #f7f4ed;
  --ink: #232d25;
  --muted: #555e53;
  --line: #ded8ca;
  --gold: #795021;
  --green: #123528;
  --serif: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #aa7937; outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: none; display: inline-flex; align-items: center; gap: 9px; color: #172d22; font: 700 1.12rem var(--serif); letter-spacing: .12em; text-decoration: none; }
.brand span { color: #a77437; font-size: 1.55rem; }
.top nav { display: flex; gap: 25px; color: var(--muted); font-size: .93rem; }
.top nav a { padding-block: 9px; text-underline-offset: 4px; text-decoration-color: transparent; }
.top nav a:hover { text-decoration-color: currentColor; }
.outline, .gold-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid #bcb4a4; border-radius: 8px; background: transparent; font-size: .93rem; font-weight: 600; }
.outline:hover { background: #eae5da; }
i[data-icon] { display: inline-block; width: 16px; height: 16px; flex: none; }
i svg { width: 100%; height: 100%; display: block; }
.profile { display: flex; align-items: center; gap: 20px; padding-block: 41px 29px; }
.avatar { position: relative; flex: 0 0 clamp(57px, 7.2vw, 81px); display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: 1px solid #ba9d67; box-shadow: inset 0 0 0 4px var(--paper); background: radial-gradient(circle at 33% 15%, #fff9e7, #e9ddc0); color: #604526; font: 1.62rem var(--serif); }
.avatar span { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--paper); color: #f1d391; background: var(--green); font: .75rem Arial, sans-serif; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--gold); font-size: .81rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.demo { color: #65553c; background: #ede5d5; border-radius: 4px; font-size: .69rem; padding: 2px 5px; letter-spacing: .055em; }
.profile h1 { font: 400 clamp(2.2rem, 5vw, 4rem)/1.02 var(--serif); letter-spacing: -.052em; }
.profile-meta { color: var(--muted); margin-top: 7px; }
.profile-meta span, .feature-date span { margin-inline: 2px; }

.tone-emerald { --deep: #0c2119; --light: #24533d; --shine: #edca84; }
.tone-trophy { --deep: #0f241f; --light: #275847; --shine: #f1cd7e; }
.tone-silver { --deep: #201525; --light: #493254; --shine: #e9c9ef; }
.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 397px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 21px;
  background: radial-gradient(ellipse at 72% 35%, var(--light), transparent 58%), var(--deep);
  color: #fcf3e2;
}
.feature-copy { position: relative; z-index: 1; align-self: center; padding: 40px 9px 44px clamp(29px, 5.2vw, 71px); }
.feature-kicker { display: flex; gap: 7px; align-items: center; margin-bottom: 15px; color: #e9c882; font-size: .79rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.feature h2 { font: 400 clamp(2.9rem, 5.7vw, 4.8rem)/.98 var(--serif); letter-spacing: -.057em; }
.feature-result { margin-top: 13px; color: var(--shine); font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.15 var(--serif); }
.feature-date { margin-top: 10px; color: #f4ecd7cc; font-size: .94rem; }
.gold-button { margin-top: 24px; border-color: #d9b97b; color: #192419; background: #edcf91; padding-inline: 16px; }
.gold-button:hover { background: #fae1aa; }
.feature-image { position: relative; display: grid; place-items: center; min-width: 0; padding: 7px 34px 7px 9px; isolation: isolate; }
.feature-image::before, .feature-image::after { content: ""; position: absolute; width: min(84%, 361px); aspect-ratio: 1; border: 1px solid #f4db9c40; border-radius: 50%; }
.feature-image::after { width: min(92%, 400px); border-color: #f4db9c1c; }
.feature-image img { position: relative; z-index: 1; width: min(100%, 385px); height: auto; filter: drop-shadow(0 13px 17px #07100bc2); }
.feature:has(button:hover) img { transform: scale(1.022); }
.feature-image img, .card-image img { transition: transform 220ms ease; }

.other-awards, .goals { margin-top: 37px; }
.other-awards h2, .goals h2 { margin-bottom: 14px; font: 400 clamp(1.72rem, 3.2vw, 2.22rem)/1.1 var(--serif); letter-spacing: -.037em; }
.award-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.award-card { display: grid; grid-template-columns: 41% minmax(0, 1fr); gap: 0; overflow: hidden; width: 100%; min-height: 149px; padding: 0; border-radius: 13px; border: 1px solid var(--line); background: #fcfaf5; text-align: left; }
.award-card:hover { border-color: #9f8459; }
.card-image { display: grid; place-items: center; width: 100%; padding: 9px; background: radial-gradient(ellipse at 50% 35%, var(--light), var(--deep) 81%); }
.card-image img { width: min(100%, 132px); height: auto; filter: drop-shadow(0 7px 9px #060b08a0); }
.award-card:hover img { transform: scale(1.065); }
.card-body { display: grid; align-content: center; gap: 4px; padding: 16px 18px; }
.card-title { font: 400 clamp(1.32rem, 2.7vw, 1.8rem)/1.05 var(--serif); }
.card-result { color: var(--gold); }
.card-info { color: var(--muted); font-size: .87rem; line-height: 1.4; }
.goals { scroll-margin-top: 24px; }
.goal { border: 1px solid var(--line); border-radius: 13px; background: #fcfaf5; }
.goal summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 14px 18px; list-style: none; cursor: pointer; }
.goal summary::-webkit-details-marker { display: none; }
.progress-medal { display: grid; width: 52px; aspect-ratio: 1; padding: 4px; border-radius: 50%; background: conic-gradient(#a77532 0 66.67%, #e0dacc 66.67% 100%); }
.progress-medal span { display: grid; place-items: center; border-radius: 50%; background: #f7f0df; color: var(--gold); font-size: 1.42rem; }
.goal-name { display: grid; gap: 2px; }
.goal-name strong { font: 400 1.34rem/1.1 var(--serif); }
.goal-name > span { color: var(--muted); font-size: .91rem; }
.goal-action { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: .9rem; font-weight: 600; }
.goal[open] .goal-action i { rotate: 180deg; }
.goal-content { margin: 0 18px 17px; padding: 15px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .91rem; }
.goal-content ul { display: grid; gap: 8px; padding: 0; margin: 12px 0; list-style: none; }
.goal-content li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 15px; }
.goal-content li span:first-child { color: var(--ink); font-weight: 600; }
.goal-content a { color: var(--green); text-underline-offset: 3px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin-top: 35px; padding-block: 17px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer span:first-child { color: var(--green); font-weight: 700; letter-spacing: .09em; }

.award-dialog { max-width: none; width: min(935px, calc(100% - 42px)); max-height: calc(100dvh - 38px); overscroll-behavior: contain; padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: 0 22px 80px #0a120da0; }
.award-dialog::backdrop { background: #0a170ac4; }
.dialog-frame { position: relative; display: grid; grid-template-columns: 1.12fr 1fr; }
.viewer-stage { position: relative; min-width: 0; min-height: 390px; display: grid; place-items: center; isolation: isolate; overflow: hidden; color: #fff6e3; background: radial-gradient(ellipse at 52% 42%, var(--light), var(--deep) 77%); }
.viewer-poster { width: min(100%, 346px); height: auto; padding: 19px; filter: drop-shadow(0 16px 16px #0007); }
.viewer-mount { position: absolute; inset: 0; }
.viewer-mount canvas { display: block; width: 100%; height: 100%; }
.viewer-status { position: absolute; bottom: 13px; max-width: 90%; padding: 5px 9px; border-radius: 6px; background: #071810df; font-size: .87rem; }
.dialog-details { position: relative; padding: 41px 24px 24px; min-width: 0; }
.dialog-details .eyebrow { padding-right: 42px; }
.close { position: absolute; top: 12px; right: 12px; width: 44px; padding: 0; border-radius: 50%; }
.close i { width: 19px; height: 19px; }
.dialog-details h2 { font: 400 clamp(2.18rem, 4vw, 3.3rem)/1.02 var(--serif); letter-spacing: -.051em; }
.dialog-caption { margin-top: 8px; color: var(--muted); }
.dialog-details dl { display: grid; gap: 6px; margin-top: 15px; padding-block: 12px; border-block: 1px solid var(--line); font-size: .93rem; }
.dialog-details dl div { display: grid; grid-template-columns: minmax(84px, 1fr) 2.2fr; gap: 7px; }
.dialog-details dt { color: var(--muted); }
.viewer-options { margin-top: 16px; }
.viewer-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.viewer-buttons .outline { padding-inline: 10px; font-size: .85rem; }
.viewer-buttons [aria-pressed=true] { border-color: var(--green); color: #fbf4e4; background: var(--green); }
.viewer-options p { color: var(--muted); margin-top: 7px; font-size: .84rem; }
.memory { margin-top: 15px; }
.memory summary { min-height: 44px; padding-block: 11px; color: var(--green); font-size: .91rem; cursor: pointer; }
.memory figure { padding-top: 4px; }
.memory img { width: 100%; height: auto; max-height: 118px; object-fit: cover; object-position: 50% 68%; border-radius: 7px; }
.memory figcaption { padding-top: 5px; color: var(--muted); font-size: .82rem; }
.toast { position: fixed; z-index: 4; bottom: 18px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 25px); overflow-wrap: anywhere; padding: 10px 16px; border-radius: 8px; color: #fcf5e7; background: var(--green); box-shadow: 0 5px 21px #1220152b; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 38px); }
  .top nav { gap: 13px; }
  .profile { padding-block: 26px 21px; gap: 12px; }
  .feature { min-height: 320px; }
  .feature-image { padding-right: 13px; }
  .award-card { grid-template-columns: 37% minmax(0, 1fr); }
  .card-body { padding-inline: 11px; }
  .dialog-details { padding-inline: 17px; }
}
@media (max-width: 560px) {
  .shell { width: calc(100% - 30px); }
  .top-inner { min-height: 57px; }
  .top nav { display: none; }
  .brand { font-size: .99rem; }
  .share { font-size: .84rem; padding-inline: 10px; }
  .profile h1 { font-size: clamp(1.93rem, 8.4vw, 2.7rem); }
  .profile-meta { font-size: .91rem; }
  .eyebrow { font-size: .73rem; letter-spacing: .09em; }
  .feature { grid-template-columns: minmax(0, 1fr); border-radius: 16px; }
  .feature-image { grid-row: 1; padding: 6px 12px 0; }
  .feature-image img { width: min(75%, 247px); }
  .feature-image::before { width: min(71%, 237px); }
  .feature-image::after { width: min(77%, 255px); }
  .feature-copy { padding: 5px 17px 23px; }
  .feature-kicker { margin-bottom: 6px; }
  .feature h2 { font-size: clamp(2.45rem, 10vw, 3.25rem); }
  .feature-result { margin-top: 6px; }
  .feature-date { margin-top: 5px; }
  .gold-button { margin-top: 15px; }
  .other-awards, .goals { margin-top: 26px; }
  .award-grid { gap: 9px; }
  .award-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .card-image { padding: 5px; }
  .card-image img { width: min(80%, 110px); }
  .card-body { padding: 9px 10px 12px; }
  .card-title { font-size: 1.25rem; }
  .card-result { font-size: .91rem; }
  .card-info { font-size: .82rem; }
  .goal summary { grid-template-columns: auto minmax(0, 1fr); padding: 12px; gap: 5px 10px; }
  .progress-medal { grid-row: span 2; width: 44px; }
  .goal-action { grid-column: 2; }
  .goal-content { margin-inline: 12px; }
  .award-dialog { width: calc(100% - 22px); max-height: calc(100dvh - 22px); }
  .dialog-frame { grid-template-columns: minmax(0, 1fr); }
  .viewer-stage { min-height: 281px; height: min(82vw, 340px); }
  .viewer-poster { max-height: 100%; height: auto; width: min(88%, 300px); object-fit: contain; }
  .dialog-details { position: static; padding: 12px 15px 19px; }
  .close { top: 8px; right: 8px; color: white; background: #08140ed1; border-color: #c7cdb890; z-index: 2; }
  .close:hover { background: #324c3b; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-image img, .card-image img { transition: none; }
}
