/* Polish pass 1: readable type, responsive spacing, and complete controls. */
:root { --gold:#86632d; }
.site-header { transition:background .35s,box-shadow .35s; }
.site-header.is-scrolled { background:linear-gradient(110deg,#f9f5ecf5,#f2e9d8f0); box-shadow:0 5px 25px #3a2d1210; }
.desktop-nav a { min-height:44px;display:flex;align-items:center; }
.desktop-nav a:after { bottom:4px; }
.header-cta { min-height:48px; }
.sound-toggle { width:44px;min-height:44px; }
.sound-toggle small { font-size:9px; }
.text-link { min-height:44px;padding-block:8px; }
.footer-bottom a,.footer-bottom button { display:inline-flex;align-items:center;min-height:44px;font-size:11px; }
.photo-note,.wish-note,.voice-note { color:#746146; }
.hero-description { font-size:13px; }
.hero-photo-view { position:absolute;z-index:3;right:7.2%;bottom:83px;min-height:44px;padding:9px 15px;border:1px solid #ad8d5677;background:linear-gradient(125deg,#fffaf0e8,#efe3cbbe);backdrop-filter:blur(8px);box-shadow:0 3px 0 #8062322b;font-size:11px;color:#59472e; }
.hero-photo-view span { margin-left:16px;font-size:16px; }
.hero-photo-view:active { translate:0 2px;box-shadow:inset 0 2px 5px #80623233; }
.hero-orbit { border:0;box-shadow:none;animation:none; }
.hero-orbit svg { width:100%;height:100%;overflow:visible;transform:rotate(-105deg); }
.hero-orbit circle { fill:none;stroke:#b9944a;stroke-width:.6;stroke-dasharray:100;stroke-dashoffset:0;animation:enso-draw 2.6s .2s cubic-bezier(.19,1,.3,1) both;opacity:.65; }
.hero-orbit circle+circle { stroke-width:.2;animation-delay:.5s;opacity:.45; }
@keyframes enso-draw { from { stroke-dashoffset:100;opacity:0; } to { stroke-dashoffset:0;opacity:.65; } }
.button { overflow:hidden; }
.button:after { content:'';position:absolute;inset:-80% 0;pointer-events:none;width:25%;background:linear-gradient(90deg,transparent,#fff4d32b,transparent);transform:translateX(-200%) rotate(24deg); }
.button:hover:after { animation:gold-glint .8s ease-out; }
@keyframes gold-glint { to { transform:translateX(600%) rotate(24deg); } }
.wish-toolbar { display:flex;align-items:center;gap:14px;margin-bottom:5px; }
.wish-selection { margin-right:auto;font-size:11px;color:#71572f;white-space:nowrap; }
.wish-selection strong { font:500 23px/1.3 var(--serif);margin-right:6px; }
.wish-reset,.wish-jump { min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:7px 5px;font-size:11px;white-space:nowrap;color:#6f552e; }
.wish-reset { border-bottom:1px solid #b09a7155; }
.wish-reset:disabled { opacity:.4;cursor:default; }
.wish-reset span { font-size:19px; }
.wish-meter { display:block;width:100%;height:3px;margin:8px 0 20px;border:0;appearance:none;background:#c6ae7c35; }
.wish-meter::-webkit-progress-bar { background:#c6ae7c35; }
.wish-meter::-webkit-progress-value { background:linear-gradient(90deg,#b88c39,#dbc079);transition:width .5s; }
.wish-meter::-moz-progress-bar { background:#b88c39; }
.wish-result { padding:25px 0; }
.wish-result .result-label { color:#73501e; }
.result-related { display:flex;flex-wrap:wrap;gap:7px 15px;border-top:1px solid #b09a7140;margin-top:17px;padding-top:16px; }
.result-related p { flex-basis:100%;font-size:11px;margin:0; }
.result-related a { min-height:44px;display:inline-flex;align-items:center;font:500 12px/1.5 var(--serif);color:#79592a;border-bottom:1px solid #b4965e70; }
.result-related[hidden],.wish-jump[hidden] { display:none; }
.image-dialog { width:min(1000px,94vw);padding:55px 22px 16px;max-width:94vw;max-height:94svh;background:#282218f2;overflow:auto;border:1px solid #ba9a5a55; }
.image-dialog[open] { display:flex;flex-direction:column;align-items:center; }
.image-dialog>img { width:auto;height:auto;max-width:100%;max-height:65svh;min-height:0;object-fit:contain; }
.image-dialog .dialog-close { position:absolute;right:12px;top:8px;min-height:44px;min-width:44px;font-size:28px; }
.image-dialog #image-caption { max-width:100%;font-size:13px;margin:14px 0 8px;color:#f7efdf;line-height:1.8; }
.image-navigation { display:flex;width:min(420px,100%);align-items:center;justify-content:space-between;gap:20px;color:#e6d2a6; }
.image-navigation button { min-height:44px;min-width:82px;padding:8px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #b69a6555;background:linear-gradient(120deg,#5f4e32,#332a1c);box-shadow:inset 0 1px 0 #d8c59a33,0 3px 0 #17130e;font-size:16px; }
.image-navigation button span { font-size:12px; }
.image-navigation button:active { translate:0 2px;box-shadow:inset 0 2px 5px #0006; }
.image-counter { font:400 13px/1.5 var(--serif);letter-spacing:.1em;white-space:nowrap; }
.privacy-dialog .dialog-close { position:sticky;float:right;right:0;top:0;width:44px;height:44px;background:#f9f4e8;color:#5f4c2d;border:1px solid #b4975f80; }
.privacy-dialog h2 { padding-top:15px; }
:focus-visible { outline:2px solid #955239;outline-offset:5px; }
@media(min-width:1100px) { .service-copy>p:not(.service-index):not(.service-tagline),.service-small-body>p:not(.service-index):not(.service-tagline),.greeting p { font-size:14px; } }
@media(max-width:1100px) { .desktop-nav { gap:12px; }.hero-photo-view { right:6%;bottom:76px; } }
@media(max-width:800px) {
  .menu-toggle { min-width:44px;min-height:44px;align-items:center; }
  .sound-toggle { width:44px;min-height:44px; }
  .hero-photo-view { bottom:77px; }
  .wish-toolbar { gap:9px; }
  .wish-reset,.wish-jump { font-size:10px; }
  .wish-selection { font-size:10px; }
  .reflection-layout { grid-template-columns:.75fr 1.25fr; }
  .wish-option { font-size:13px; }
}
@media(max-width:580px) {
  .site-header { gap:7px; }
  .site-header .brand { font-size:14px;gap:8px; }
  .site-header .brand ruby { font-size:30px; }
  .sound-toggle { flex-shrink:0; }.sound-toggle>span { font-size:18px; }.sound-toggle small { font-size:8px; }
  .hero-photo-view { top:287px;bottom:auto;right:6%;font-size:10px;padding:8px 12px; }
  .hero-photo-view span { font-size:14px;margin-left:9px; }
  .hero-description { font-size:12px;line-height:2; }
  .hero { padding-bottom:78px; }
  .hero-actions { gap:12px; }
  .hero-actions .text-link { font-size:11px; }
  .section-pad { padding-block:58px; }
  .intro-body p:not(.large-copy),.wisdom-content>p:not(.eyebrow),.service-copy>p:not(.service-index):not(.service-tagline),.service-small-body>p:not(.service-index):not(.service-tagline),.greeting p { font-size:14px;line-height:2.1; }
  .value-grid p,.answer { font-size:13px;line-height:2.1; }
  .gifts dd p { font-size:12px; }.gifts strong { font-size:18px; }
  .wisdom-photo img { height:320px; }
  .service-photo { height:350px; }
  .service .button { font-size:12px;padding-inline:17px; }
  .reflection-layout { display:block; }
  .reflection-controls { overflow:visible; }
  .wish-toolbar { position:sticky;top:78px;z-index:4;background:linear-gradient(110deg,#f8f1e0f7,#f2e7cdf7);backdrop-filter:blur(7px);margin-inline:-5px;padding-inline:5px;border-bottom:1px solid #bb9d5850; }
  .wish-reset,.wish-jump { font-size:11px; }.wish-selection { font-size:10px; }
  .wish-option { font-size:14px;line-height:1.85; }
  .wish-option>span:nth-child(2) br { display:none; }
  .wish-note { font-size:11px;line-height:1.9; }.wish-result p { font-size:13px; }
  .profile { flex-direction:column;gap:36px; }
  .profile-visual>img { aspect-ratio:.92;object-position:center 30%; }
  .profile h2 { font-size:27px; }
  .moments { padding-top:12px; }
  .moments .section-heading { margin-bottom:26px; }
  .contact { padding-block:67px; }.contact-inner>p:not(.eyebrow) { font-size:13px; }
  footer { padding-bottom:34px; }.footer-bottom>div { gap:9px 20px; }.footer-bottom small { font-size:10px; }
  .image-dialog { padding:56px 14px 15px;max-height:93svh; }.image-dialog>img { max-height:60svh; }
  .image-dialog #image-caption { font-size:12px;line-height:1.7; }.image-navigation { gap:16px; }
}
@media(max-width:360px) {
  .site-header .brand { font-size:13px;gap:6px; }.site-header .brand ruby { font-size:27px; }
  .hero-photo-view { top:269px;font-size:9px; }.hero-description { font-size:11px; }
  .wish-option { font-size:13px; }.wish-toolbar { gap:7px; }.wish-reset,.wish-jump { font-size:10px; }
  .gifts>div { grid-template-columns:90px 1fr; }.gifts dd { padding-left:15px; }
  .image-dialog>img { max-height:56svh; }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after { animation:none!important;transition:none!important; }
  .hero-orbit circle { stroke-dashoffset:0; }
}
.back-top,.email { min-height:44px; }
.back-top { min-width:44px; }
.email { display:inline-flex;align-items:center; }
@media(max-width:580px) {
  .reflection { overflow:clip; }
  #wish-summary { scroll-margin-top:64px; }
  .hero-seal { left:6%;right:auto; }
}

/* Keep the square hero portrait below the fixed header. */
.hero-scene { top:100px;height:calc(100% - 100px);object-position:center; }
@media(max-width:800px) {
  .hero-scene { top:78px;height:calc(100% - 78px); }
}
@media(max-width:580px) {
  .hero { padding-top:calc(100vw + 38px); }
  .hero-scene { top:78px;height:auto;aspect-ratio:1;object-position:center; }
  .hero-photo-view { top:calc(100vw - 32px); }
  .hero-seal { top:88px;padding:10px 14px;gap:5px; }
  .hero-seal ruby { font-size:37px; }
  .hero-seal .vertical-label { font-size:7px;top:13px;right:5px; }
  .hero-art:after { background:linear-gradient(180deg,transparent 0,transparent calc(65vw + 78px),#f8f3e7 calc(100vw + 78px),#f8f3e7 100%); }
}
