@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Manrope:wght@300;400;500&display=swap');

:root {
  --ink: #172328;
  --ink-soft: #23343a;
  --paper: #f3f0e9;
  --paper-deep: #e5dfd4;
  --copper: #c98252;
  --sea: #9cc2cb;
  --kelleher: #00b273;
  --white: #fbfaf6;
  --line: rgba(23, 35, 40, .18);
  --gutter: clamp(22px, 5vw, 78px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-weight: 300; }
body.locked { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 1000; background: var(--white); color: var(--ink); padding: 12px 18px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
.eyebrow { margin: 0; font-size: .68rem; font-weight: 600; letter-spacing: .23em; text-transform: uppercase; }
.eyebrow.copper { color: #a65e31; }

.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; min-height: 100svh; padding: 26px; overflow: hidden; color: var(--white); background: linear-gradient(120deg, rgba(12,23,28,.92), rgba(12,23,28,.62)), url('https://trademe.tmcdn.co.nz/photoserver/full/2324384494.jpg') center/cover; transition: opacity .7s ease, visibility .7s; }
.gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.gate::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.22); pointer-events: none; }
.gate-panel { position: relative; z-index: 2; width: min(540px, 100%); padding: clamp(38px, 6vw, 68px); background: rgba(23,35,40,.86); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.mark, .brand-mark { position: relative; display: block; width: 42px; height: 32px; margin-bottom: 40px; }
.mark span, .brand-mark span { position: absolute; left: 3px; right: 3px; top: 7px; height: 1px; background: var(--copper); transform: rotate(-28deg); }
.mark i, .brand-mark i { position: absolute; left: 3px; right: 3px; bottom: 7px; height: 1px; background: var(--sea); transform: rotate(8deg); }
.kelleher-logo-box { display: inline-flex; align-items: center; justify-content: center; padding: 7px 11px; background: var(--kelleher); }
.kelleher-logo-box img { width: 108px; height: auto; }
.gate-agency { display: flex; align-items: center; gap: 13px; margin-bottom: 42px; }
.gate-agency > span:first-child, .header-agency > span:first-child, .viewing-agency > span:first-child { font-size: .58rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; opacity: .58; }
.gate h1 { margin: 13px 0 2px; font-family: "Manrope", sans-serif; font-size: clamp(2.5rem, 7vw, 4.7rem); font-weight: 300; line-height: .98; letter-spacing: -.06em; }
.gate-place { margin: 13px 0 52px; color: rgba(255,255,255,.62); letter-spacing: .12em; font-size: .74rem; text-transform: uppercase; }
.gate label { display: block; margin-bottom: 9px; color: rgba(255,255,255,.62); font-size: .75rem; }
.password-row { display: flex; border-bottom: 1px solid rgba(255,255,255,.45); }
.password-row input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: white; font-size: 1.05rem; padding: 13px 0; }
.password-row button { border: 0; background: transparent; color: white; cursor: pointer; padding: 13px 2px 13px 20px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.password-row button span { color: var(--kelleher); margin-left: 7px; }
.gate-error { min-height: 18px; margin: 11px 0 0; color: #e8a279; font-size: .75rem; }
.gate-art span { position: absolute; width: 52vw; height: 52vw; border: 1px solid rgba(156,194,203,.13); border-radius: 44% 56% 61% 39%; }
.gate-line-a { left: -25vw; top: 5vh; transform: rotate(14deg); }
.gate-line-b { right: -20vw; bottom: -10vh; transform: rotate(-18deg) scale(1.2); }
.gate-line-c { right: -7vw; top: -38vw; transform: rotate(55deg) scale(.7); }

.site-shell { opacity: 0; transition: opacity .7s .15s; }
.site-shell.visible { opacity: 1; }
.site-header { position: fixed; z-index: 50; left: 0; right: 0; top: 0; height: 84px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; color: var(--white); transition: background .3s, color .3s, height .3s; }
.site-header.scrolled { height: 68px; background: rgba(243,240,233,.94); color: var(--ink); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; gap: 13px; align-items: center; text-decoration: none; }
.brand-mark { width: 29px; height: 27px; margin: 0; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .76rem; letter-spacing: .06em; font-weight: 500; }
.brand small { margin-top: 3px; opacity: .6; font-size: .59rem; text-transform: uppercase; letter-spacing: .18em; }
.header-agency { display: flex; align-items: center; gap: 10px; margin-left: auto; margin-right: clamp(18px,2.5vw,38px); text-decoration: none; }
.header-agency .kelleher-logo-box { padding: 5px 8px; }
.header-agency .kelleher-logo-box img { width: 86px; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); }
.site-header nav a { text-decoration: none; font-size: .68rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.site-header nav a:not(.nav-cta)::after { content: ""; display: block; width: 0; height: 1px; margin-top: 4px; background: currentColor; transition: width .25s; }
.site-header nav a:hover::after { width: 100%; }
.nav-cta { border: 1px solid var(--kelleher); padding: 11px 15px; background: var(--kelleher); color: white; }
.menu-button { display: none; align-items: center; flex-direction: column; gap: 4px; padding: 10px; border: 0; background: none; cursor: pointer; }
.menu-button span { width: 22px; height: 1px; background: currentColor; }
.menu-button b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: end; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-image, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; transform: scale(1.02); animation: heroDrift 12s ease-out forwards; }
@keyframes heroDrift { to { transform: scale(1.08); } }
.hero-scrim { background: linear-gradient(90deg, rgba(10,20,24,.72), rgba(10,20,24,.08) 65%), linear-gradient(0deg, rgba(10,20,24,.55), transparent 50%); }
.hero-copy { position: relative; z-index: 2; width: 100%; padding: 150px var(--gutter) 70px; }
.hero h1 { max-width: 1100px; margin: 18px 0 50px; font-family: "Manrope", sans-serif; font-weight: 300; font-size: clamp(3.7rem, 8.5vw, 9rem); line-height: .86; letter-spacing: -.075em; }
.hero h1 em, .gallery-title h2 em { color: var(--sea); font-family: Georgia, serif; font-weight: 400; }
.hero-footer { display: flex; align-items: end; gap: clamp(24px,4vw,80px); }
.hero-footer p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.55; font-size: .85rem; }
.hero-footer a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 7px; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.hero-footer a span { margin-left: 36px; color: var(--copper); }
.hero-price { position: absolute; z-index: 3; right: var(--gutter); bottom: 70px; text-align: right; }
.hero-price span { display: block; margin-bottom: 5px; color: rgba(255,255,255,.6); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-price strong { font: 300 clamp(1.2rem,2vw,1.8rem)/1 "Manrope",sans-serif; }
.hero-contours span { position: absolute; z-index: 1; right: -15vw; top: 10vh; width: 55vw; height: 60vh; border: 1px solid rgba(255,255,255,.11); border-radius: 47% 53% 37% 63%; transform: rotate(10deg); }
.hero-contours span:nth-child(2) { transform: rotate(16deg) scale(.84); }
.hero-contours span:nth-child(3) { transform: rotate(23deg) scale(.68); }
.hero-contours span:nth-child(4) { transform: rotate(31deg) scale(.51); }

.facts { display: grid; grid-template-columns: repeat(5, 1fr); padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: var(--paper); }
.facts div { padding: 34px clamp(10px,2vw,32px); border-left: 1px solid var(--line); }
.facts div:last-child { border-right: 1px solid var(--line); }
.facts strong { display: block; font: 300 clamp(1.8rem,3vw,3rem)/1 "Manrope",sans-serif; }
.facts span { display: block; margin-top: 9px; color: rgba(23,35,40,.58); font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }

.section { position: relative; padding: 120px var(--gutter); }
.section-index { display: flex; align-items: center; gap: 16px; margin-bottom: 85px; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.section-index i { display: block; width: 55px; height: 1px; background: currentColor; opacity: .3; }
.section-index > span:first-child { color: var(--kelleher); }
.section-index.light { color: rgba(255,255,255,.62); }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 9vw, 145px); align-items: start; }
.story h2, .performance h2, .media-heading h2, .tour h2, .viewing h2, .gallery-title h2 { margin: 18px 0 0; font: 300 clamp(2.7rem,5.3vw,6rem)/1.04 "Manrope",sans-serif; letter-spacing: -.055em; }
.story-body { max-width: 610px; padding-top: 36px; }
.story-body p { color: rgba(23,35,40,.68); font-size: .94rem; line-height: 1.8; }
.story-body .lead { margin-top: 0; color: var(--ink); font-size: clamp(1.12rem,1.5vw,1.42rem); line-height: 1.55; }
.feature-image { margin: 110px 0 0; }
.feature-image img { aspect-ratio: 16/8.2; object-fit: cover; }
.feature-image figcaption { display: flex; justify-content: space-between; gap: 30px; padding-top: 15px; font-size: .68rem; letter-spacing: .08em; }
.feature-image figcaption small { color: rgba(23,35,40,.55); }

.performance, .film { overflow: hidden; background: var(--ink); color: var(--white); }
.performance::after { content: ""; position: absolute; width: 80vw; height: 80vw; border: 1px solid rgba(156,194,203,.1); border-radius: 44% 56% 63% 37%; right: -48vw; top: -30vw; }
.performance-intro { position: relative; z-index: 1; max-width: 900px; }
.performance h2 { margin-bottom: 80px; }
.spec-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.22); }
.spec { min-height: 300px; padding: 28px 28px 28px 0; border-right: 1px solid rgba(255,255,255,.22); }
.spec + .spec { padding-left: 28px; }
.spec:last-child { border-right: 0; }
.spec > span { color: var(--copper); font-size: .65rem; }
.spec h3 { margin: 56px 0 18px; font: 400 1.1rem/1.3 "Manrope",sans-serif; }
.spec p { margin: 0; color: rgba(255,255,255,.58); font-size: .8rem; line-height: 1.7; }
.manifesto { position: relative; z-index: 1; max-width: 1050px; margin: 100px auto 10px; color: var(--sea); text-align: center; font: 400 clamp(2rem,4.6vw,5.2rem)/1.18 Georgia,serif; }

.gallery-title { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 60px; margin-bottom: 65px; }
.gallery-title .eyebrow { grid-column: 1 / -1; }
.gallery-title p:last-child { max-width: 240px; margin: 0 0 9px; color: rgba(23,35,40,.58); font-size: .82rem; line-height: 1.6; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery-item { position: relative; display: block; min-height: 370px; padding: 0; overflow: hidden; border: 0; background: var(--ink); cursor: zoom-in; }
.gallery-item.wide { grid-column: 1 / -1; min-height: min(72vw, 780px); }
.gallery-item.tall { grid-row: span 2; min-height: 758px; }
.gallery-item img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.gallery-item:hover img { transform: scale(1.035); opacity: .86; }
.gallery-item span { position: absolute; z-index: 2; right: 16px; bottom: 14px; display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: white; font-size: .62rem; }
.gallery-grid:not(.expanded) .gallery-item.is-extra { display: none; }
.gallery-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 18px; padding: 22px 26px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font: 600 .7rem/1 "Manrope",sans-serif; letter-spacing: .13em; text-transform: uppercase; transition: background .25s, color .25s; }
.gallery-toggle:hover { background: var(--ink); color: white; }
.gallery-toggle i { font: normal 1rem/1 Georgia,serif; transition: transform .25s; }
.gallery-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.media-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 70px; }
.media-heading .eyebrow { order: 2; margin-bottom: 12px; color: var(--copper); }
.video-frame, .tour-frame { position: relative; width: 100%; background: #0a1013; box-shadow: 0 25px 65px rgba(0,0,0,.22); }
.video-frame { aspect-ratio: 16/9; }
.video-frame iframe, .tour-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.tour { background: var(--paper-deep); }
.tour-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.tour-heading > p { max-width: 500px; margin: 0 0 10px; color: rgba(23,35,40,.65); font-size: .9rem; line-height: 1.7; }
.tour-frame { height: min(75vh, 800px); min-height: 520px; }

.viewing { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 860px; padding: 0; background: var(--ink-soft); color: white; }
.viewing-image { min-height: 700px; }
.viewing-image img { height: 100%; object-fit: cover; }
.viewing-content { display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(35px,7vw,120px); }
.viewing-agency { display: flex; align-items: center; gap: 13px; align-self: flex-start; margin-bottom: 38px; color: white; text-decoration: none; }
.viewing-agency .kelleher-logo-box img { width: 124px; }
.viewing-content h2 { margin-bottom: 32px; }
.viewing-content > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.64); line-height: 1.75; }
.agent-card { display: flex; gap: 18px; align-items: center; margin: 42px 0 35px; }
.agent-card img { width: 72px; height: 72px; object-fit: cover; border: 2px solid var(--kelleher); border-radius: 50%; filter: grayscale(1); }
.agent-card strong, .agent-card span { display: block; }
.agent-card strong { font: 400 1.15rem "Manrope",sans-serif; }
.agent-card span { margin-top: 5px; color: rgba(255,255,255,.54); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.viewing-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { padding: 15px 19px; text-decoration: none; font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.button span { margin-left: 18px; }
.button.primary { background: var(--kelleher); color: white; }
.button.secondary { border: 1px solid rgba(255,255,255,.42); }
.text-link { margin: 12px 0 0 3px; font-size: .7rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 50px; padding: 65px var(--gutter) 42px; border-top: 3px solid var(--kelleher); background: #0e181c; color: white; }
.footer-agency { display: inline-block; margin-bottom: 38px; padding: 9px 12px; background: var(--kelleher); }
.footer-agency img { width: 132px; }
.footer-address strong, .footer-address span { display: block; }
.footer-address strong { font: 300 1.5rem "Manrope",sans-serif; }
.footer-address span { margin-top: 9px; color: rgba(255,255,255,.5); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.property-showcase-credit { display: block; width: 126px; margin-top: 28px; }
.property-showcase-credit img { display: block; width: 100%; height: auto; }
.footer-links { display: flex; align-items: start; gap: 24px; }
.footer-links a, .footer-links button { padding: 0 0 5px; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); background: none; color: white; text-decoration: none; font-size: .68rem; cursor: pointer; }
.disclaimer { grid-column: 1 / -1; max-width: 780px; margin: 30px 0 0; color: rgba(255,255,255,.32); font-size: .62rem; line-height: 1.6; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,11,14,.97); color: white; }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox::backdrop { background: rgba(6,11,14,.98); }
.lightbox figure { max-width: min(1200px, calc(100vw - 180px)); max-height: 90vh; margin: auto; }
.lightbox figure img { max-height: 82vh; object-fit: contain; }
.lightbox figcaption { margin-top: 13px; font-size: .72rem; letter-spacing: .1em; text-align: center; text-transform: uppercase; color: rgba(255,255,255,.62); }
.lightbox-close, .lightbox-arrow { position: relative; z-index: 2; border: 0; background: transparent; color: white; cursor: pointer; }
.lightbox-close { position: absolute; right: 24px; top: 18px; font-size: 2.3rem; font-weight: 200; }
.lightbox-arrow { font-size: 1.6rem; height: 100%; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.hero .reveal { transition-delay: .25s; }

@media (max-width: 900px) {
  .site-header { height: 68px; }
  .menu-button { display: flex; }
  .site-header nav { position: fixed; inset: 68px 0 auto; display: none; padding: 26px var(--gutter) 34px; flex-direction: column; align-items: flex-start; background: rgba(243,240,233,.98); color: var(--ink); border-bottom: 1px solid var(--line); }
  .site-header nav.open { display: flex; }
  .site-header.menu-open { background: var(--paper); color: var(--ink); }
  .header-agency { margin-left: auto; margin-right: 8px; }
  .header-agency > span:first-child { display: none; }
  .header-agency .kelleher-logo-box img { width: 76px; }
  .hero-footer { gap: 35px; }
  .hero-price { bottom: 30px; }
  .facts { grid-template-columns: repeat(5, minmax(118px,1fr)); overflow-x: auto; padding: 0; }
  .story-grid, .tour-heading { grid-template-columns: 1fr; }
  .story-body { padding-top: 0; }
  .spec-grid { grid-template-columns: repeat(2,1fr); }
  .spec:nth-child(2) { border-right: 0; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .viewing { grid-template-columns: 1fr; }
  .viewing-image { min-height: 58vw; }
}

@media (max-width: 640px) {
  .gate { padding: 12px; }
  .gate::after { inset: 7px; }
  .gate-panel { padding: 38px 26px; }
  .gate h1 { font-size: 2.8rem; }
  .brand-mark { display: none; }
  .brand { gap: 0; }
  .brand strong { font-size: .68rem; }
  .header-agency .kelleher-logo-box { padding: 4px 6px; }
  .header-agency .kelleher-logo-box img { width: 67px; }
  .hero-copy { padding-bottom: 155px; }
  .hero-image { animation: none; object-position: 54% center; transform: scale(1.01); }
  .hero h1 { font-size: clamp(3.1rem,14vw,5.4rem); margin-bottom: 34px; }
  .hero-footer { display: block; }
  .hero-footer a { display: block; width: max-content; margin-top: 20px; }
  .hero-price { left: var(--gutter); right: auto; bottom: 28px; text-align: left; }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .section-index { margin-bottom: 55px; }
  .feature-image { margin-top: 65px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
  .feature-image img { aspect-ratio: 4/5; }
  .feature-image figcaption { padding-left: var(--gutter); padding-right: var(--gutter); }
  .spec-grid { grid-template-columns: 1fr; }
  .spec, .spec + .spec { min-height: 0; padding: 28px 0 36px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .spec h3 { margin-top: 26px; }
  .gallery-title { display: block; }
  .gallery-title p:last-child { margin-top: 25px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 10px; }
  .gallery-item, .gallery-item.wide, .gallery-item.tall { grid-column: auto; grid-row: auto; min-height: 66vw; }
  .media-heading { display: block; }
  .media-heading .eyebrow { margin-top: 24px; }
  .tour-frame { min-height: 68vh; margin-left: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); }
  .viewing-image { min-height: 80vw; }
  .viewing-content { padding: 74px var(--gutter); }
  .viewing-actions { align-items: stretch; flex-direction: column; }
  .button { text-align: center; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 15px; }
  .disclaimer { grid-column: auto; }
  .lightbox[open] { grid-template-columns: 42px 1fr 42px; }
  .lightbox figure { max-width: calc(100vw - 84px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
