/* Landing, About, Contact and Photography pages */
body.doc { overflow: auto; height: auto; }
body.doc .page { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; }
body.doc .site-nav { position: sticky; top: 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pix { font-family: var(--pixel); }
.plabel { font-family: var(--pixel); font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 56px 0 32px; }
.plabel::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

/* Stats with icons (landing + about) */
.stat { display: flex; align-items: center; gap: 10px; font-family: var(--pixel); white-space: nowrap; }
.stat svg { flex: none; }
.stat b { font-weight: 400; font-size: 22px; }
.stat span { font-size: 16px; }

/* Polaroids */
.polaroid { display: block; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.08)); }
.polaroid img { display: block; width: 100%; height: auto; }

/* ---------- Landing ---------- */
.landing { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.landing-in { display: flex; align-items: center; gap: 40px; animation: slideIn 1s cubic-bezier(.44,0,.56,1) both; }
.landing .polaroid { width: 315px; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.landing .polaroid:hover, .landing .polaroid:focus-visible { transform: scale(1.03) rotate(-1deg); }
.landing .stats { display: flex; flex-direction: column; gap: 30px; text-decoration: none; color: var(--ink); }
@keyframes slideIn { from { opacity: 0; transform: translateX(-150px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .landing-in { animation: none; } }
@media (max-width: 700px) {
  .landing-in { flex-direction: column; gap: 32px; }
  .landing .polaroid { width: min(280px, 78vw); }
  .landing .stats { gap: 18px; }
}

/* ---------- About ---------- */
.about { max-width: 1120px; margin: 0 auto; padding: 0 24px 96px; }
.about-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; margin-bottom: 56px; }
.about-stats .stat b { font-size: 20px; }
.about-stats .stat span { font-size: 14px; }
.about-cols { display: flex; gap: 48px; align-items: flex-start; }
.about-main { flex: 1 1 auto; min-width: 0; max-width: 780px; }
.about-side { flex: none; width: 210px; position: sticky; top: 90px; }
.bar { font-family: var(--pixel); font-size: 14px; background: #D4D4D4; border-radius: 4px; padding: 6px 10px; display: flex; align-items: center; gap: 8px; margin: 0 0 22px; }
.bar::before { content: ''; width: 5px; height: 5px; border-radius: 999px; background: currentColor; }
.about section { margin-bottom: 52px; }
.intro p { font-family: var(--pixel); font-size: 16px; line-height: 1.6; margin: 0 0 18px; max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chips li { font-family: var(--pixel); font-size: 14px; border: 1px solid #BDBDBD; border-radius: 6px; padding: 8px 12px; }
.exp { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.exp li { font-family: var(--pixel); font-size: 14px; border: 1px solid #BDBDBD; border-radius: 6px; padding: 14px 12px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.exp li span:nth-child(2) { text-align: center; }
.exp li span:nth-child(3) { text-align: right; }
.growth { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.ba { position: relative; width: 300px; max-width: 100%; aspect-ratio: 700 / 1085; border-radius: 6px; overflow: hidden; user-select: none; touch-action: pan-y; background: #eee; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba .before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba .before::after { content: ''; }
.ba .line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #ffffff; box-shadow: 0 0 6px rgba(0,0,0,0.3); pointer-events: none; }
.ba .knob { position: absolute; top: 50%; left: var(--pos, 50%); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 999px; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba .tagb, .ba .taga { position: absolute; top: 10px; font-family: var(--pixel); font-size: 12px; color: #ffffff; background: var(--nav-bg); padding: 4px 8px; border-radius: 6px; pointer-events: none; }
.ba .tagb { left: 10px; } .ba .taga { right: 10px; }
.growth-text { flex: 1 1 220px; font-family: var(--pixel); font-size: 15px; line-height: 1.6; }
.growth-text .hint { margin-top: 60px; font-size: 13px; letter-spacing: 0.04em; }
@media (max-width: 860px) {
  .about-cols { flex-direction: column-reverse; align-items: center; }
  .about-side { position: static; width: 200px; }
  .about-main { width: 100%; }
  .exp li { grid-template-columns: 1fr; }
  .exp li span:nth-child(2), .exp li span:nth-child(3) { text-align: left; }
}

/* ---------- Contact ---------- */
.contact { max-width: 1000px; margin: 0 auto; padding: 0 24px 64px; }
/* Computer: the contact page sits in the middle of the window, top to bottom. */
@media (min-width: 761px) { .contact { margin: auto; padding-bottom: 0; } .contact .plabel { margin-top: 0; } }
.contact-cols { display: flex; gap: 40px; align-items: flex-start; justify-content: center; }
.flip { width: 300px; flex: none; perspective: 1200px; }
.flip-in { position: relative; transition: transform .8s cubic-bezier(.44,0,.56,1); transform-style: preserve-3d; }
.flip-in .polaroid { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-in .back { position: absolute; inset: 0; transform: rotateY(180deg); }
.flip.sent .flip-in { transform: rotateY(180deg); }
.cform { flex: 1 1 auto; max-width: 420px; display: flex; flex-direction: column; gap: 22px; padding-top: 14px; }
.cform .row { display: flex; gap: 20px; }
.cform .row > div { flex: 1 1 0; min-width: 0; }
.cform label { display: block; font-family: var(--pixel); font-size: 13px; margin-bottom: 6px; }
.cform input, .cform select, .cform textarea { width: 100%; font: 15px Inter, system-ui, sans-serif; color: var(--ink); border: 0; border-bottom: 1px solid #DADADA; background: transparent; padding: 8px 0; border-radius: 0; outline: none; }
.cform input:focus, .cform select:focus, .cform textarea:focus { border-bottom-color: var(--ink); }
.cform select { appearance: none; -webkit-appearance: none; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path d="M2 4l4 4 4-4" fill="none" stroke="%23555" stroke-width="1.5"/></svg>') no-repeat right 4px center; padding-right: 24px; }
.cform textarea { min-height: 120px; resize: vertical; }
.cform button { align-self: flex-start; font-family: var(--pixel); font-size: 15px; color: #ffffff; background: #6B6B6B; border: 0; border-radius: 4px; padding: 10px 28px; cursor: pointer; transition: background .2s ease; }
.cform button:hover { background: #3E3E3E; }
.cform button[disabled] { opacity: .6; cursor: default; }
.cform .note { font-family: var(--pixel); font-size: 13px; min-height: 18px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sig { display: block; width: 180px; margin: 64px auto 0; }
@media (max-width: 760px) {
  .contact-cols { flex-direction: column; align-items: center; }
  .flip { width: min(280px, 80vw); }
  .cform { width: 100%; }
  .cform .row { flex-direction: column; gap: 22px; }
}

/* ---------- Photography (placeholder) ---------- */
.soon { min-height: 60vh; display: flex; align-items: center; justify-content: center; font-family: var(--pixel); font-size: 18px; color: var(--grey); }
