*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: #F7F5F2; }

.hero-root {
  min-height: 100vh; background: #F7F5F2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 24px; position: relative;
  overflow: hidden; font-family: 'DM Sans', sans-serif;
}
.hero-root::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .45; pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: #A89F94; margin-bottom: 40px; }
.rule { width: 32px; height: 1px; background: #C8BFB6; margin: 0 auto 40px; }
.headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(44px, 7vw, 88px); font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; color: #1C1916; margin-bottom: 36px; max-width: 800px; }
.headline em { font-style: italic; color: #5C4F3D; }
.subline { font-size: clamp(15px, 1.6vw, 18px); font-weight: 300; line-height: 1.7; color: #7A6F64; max-width: 480px; margin-bottom: 52px; letter-spacing: 0.01em; }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pill-primary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; border-radius: 100px; background: #1C1916; color: #F7F5F2; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; border: none; cursor: pointer; outline: none; box-shadow: 0 4px 0 0 #6B5E50, 0 6px 16px rgba(0,0,0,0.18), 0 1px 0 0 rgba(255,255,255,0.04) inset; transform: translateY(0); transition: box-shadow .18s cubic-bezier(.34,1.56,.64,1), transform .18s cubic-bezier(.34,1.56,.64,1); user-select: none; }
.pill-primary:hover { box-shadow: 0 2px 0 0 #4A3F34, 0 3px 10px rgba(0,0,0,0.14); transform: translateY(2px); }
.pill-primary.pressed { box-shadow: 0 0 0 0 #3A2F25, 0 1px 6px rgba(0,0,0,0.10); transform: translateY(4px); }
.pill-primary:hover .btn-arrow { transform: translateX(3px); }
.btn-arrow { display: inline-block; transition: transform .2s cubic-bezier(.34,1.56,.64,1); }
.lock-icon { width: 13px; height: 13px; opacity: .55; flex-shrink: 0; }
.nah-text { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 300; color: #8B5E3C; letter-spacing: 0.03em; transition: color .2s ease; user-select: none; padding-top: 10px; }
.nah-text:hover { color: #5C4F3D; }
.nah-text:hover .paw { transform: rotate(-15deg) scale(1.2); }
.paw { font-size: 13px; display: inline-block; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 6px; opacity: .4; animation: hintBob 2.2s ease-in-out infinite; }
.scroll-hint-text { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #8A7F74; }
.scroll-hint-arrow { font-size: 13px; color: #8A7F74; }
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.corner { position: absolute; width: 20px; height: 20px; opacity: 0.2; }
.corner-tl { top: 40px; left: 40px; border-top: 1px solid #5C4F3D; border-left: 1px solid #5C4F3D; }
.corner-tr { top: 40px; right: 40px; border-top: 1px solid #5C4F3D; border-right: 1px solid #5C4F3D; }
.corner-bl { bottom: 40px; left: 40px; border-bottom: 1px solid #5C4F3D; border-left: 1px solid #5C4F3D; }
.corner-br { bottom: 40px; right: 40px; border-bottom: 1px solid #5C4F3D; border-right: 1px solid #5C4F3D; }
.modal-overlay { position: fixed; inset: 0; background: rgba(28,25,22,0); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 24px; backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); transition: background .3s ease, backdrop-filter .3s ease; pointer-events: none; }
.modal-overlay.visible { background: rgba(28,25,22,0.52); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: all; }
.modal-card { background: #F7F5F2; border-radius: 20px; padding: 48px 44px 40px; max-width: 400px; width: 100%; box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 24px 64px rgba(0,0,0,0.22); position: relative; opacity: 0; transform: translateY(20px) scale(0.97); transition: opacity .32s cubic-bezier(.16,1,.3,1), transform .32s cubic-bezier(.16,1,.3,1); }
.modal-overlay.visible .modal-card { opacity: 1; transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; cursor: pointer; color: #B5ABA0; font-size: 22px; line-height: 1; padding: 4px 8px; border-radius: 6px; transition: color .15s, background .15s; }
.modal-close:hover { color: #5C4F3D; background: rgba(92,79,61,0.07); }
.modal-eyebrow { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #B5ABA0; margin-bottom: 10px; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 300; color: #1C1916; line-height: 1.12; margin-bottom: 10px; }
.modal-sub { font-size: 13px; font-weight: 300; color: #A89F94; line-height: 1.65; margin-bottom: 32px; }
.pw-input { width: 100%; padding: 14px 18px; border-radius: 10px; border: 1px solid #D8D0C8; background: #FDFCFB; font-family: 'DM Sans', sans-serif; font-size: 14px; color: #1C1916; outline: none; letter-spacing: 0.06em; display: block; margin-bottom: 10px; transition: border-color .2s ease, box-shadow .2s ease; }
.pw-input::placeholder { color: #C8BFB6; letter-spacing: 0.02em; }
.pw-input:focus { border-color: #8A7F74; box-shadow: 0 0 0 3px rgba(138,127,116,0.12); }
.pw-input.error-state { border-color: #C4856A; box-shadow: 0 0 0 3px rgba(196,133,106,0.12); }
.pw-input-gap { margin-top: 12px; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.shaking { animation: shake .42s cubic-bezier(.36,.07,.19,.97); }
.error-msg { font-size: 12px; color: #C4856A; letter-spacing: 0.02em; min-height: 18px; margin-bottom: 18px; }
.modal-submit { width: 100%; padding: 15px; border-radius: 10px; background: #1C1916; color: #F7F5F2; font-family: 'DM Sans', sans-serif; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; border: none; cursor: pointer; box-shadow: 0 3px 0 0 #6B5E50, 0 4px 12px rgba(0,0,0,0.15); transform: translateY(0); transition: box-shadow .16s ease, transform .16s ease; }
.modal-submit:hover { box-shadow: 0 1px 0 0 #4A3F34; transform: translateY(2px); }
.modal-submit:active { box-shadow: none; transform: translateY(3px); }
.unlocked-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0; }
.unlock-icon { font-size: 40px; margin-bottom: 16px; }
.unlock-title { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300; color: #1C1916; margin-bottom: 8px; }
.unlock-sub { font-size: 13px; color: #A89F94; font-weight: 300; margin-bottom: 28px; line-height: 1.6; }
.unlock-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 100px; background: #1C1916; color: #F7F5F2; font-family: 'DM Sans', sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; box-shadow: 0 3px 0 0 #6B5E50; transition: box-shadow .16s ease, transform .16s ease; }
.unlock-btn:hover { box-shadow: 0 1px 0 0 #4A3F34; transform: translateY(2px); }
.dog-section { background: #F0EBE3; }
.dog-intro { text-align: center; padding: 100px 24px 80px; border-bottom: 1px solid #DDD5CC; }
.dog-intro-eyebrow { font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: #B5ABA0; margin-bottom: 14px; }
.dog-intro-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 5vw, 64px); font-weight: 300; color: #2C2420; line-height: 1.08; margin-bottom: 14px; }
.dog-intro-title em { font-style: italic; color: #8B5E3C; }
.dog-intro-sub { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 300; color: #A89F94; line-height: 1.65; }
.photo-divider { height: 1px; background: #DDD5CC; }
.dog-footer { text-align: center; padding: 80px 24px 100px; background: #F0EBE3; }
.dog-footer p { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 300; color: #B5ABA0; letter-spacing: 0.06em; }
.dog-footer a { color: #8A7F74; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dog-footer a:hover { color: #5C4F3D; }
@media (max-width: 680px) {
  .dog-intro { padding: 72px 24px 56px; }
}
.gallery-img {
  position: absolute;
  top: -10%; left: 0;
  width: 100%; height: 120%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.04s linear;
}
@media (max-width: 767px) {
  .gallery-img {
    top: 0 !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}
