/* Hornig Partners | Sotheby's International Realty
   Palette from the SIR Identity Standards Manual: SIR Blue #002349, Accent Gray #999999,
   Text Gray #666666. Off-white and gold hairlines echo SIR's 2024/2025 brand pieces.
   Brand type is Benton Sans + Mercury (licensed); web stand-ins: Libre Franklin + Cormorant Garamond,
   with the manual's approved fallbacks Arial / Times New Roman. */

:root {
  --blue: #002349;
  --blue-deep: #001a36;
  --ink: #1d2733;
  --text-gray: #666666;
  --accent-gray: #999999;
  --line: rgba(255,255,255,.18);
  --gold: #c9a961;
  --cream: #f3f1ec;
  --paper: #ffffff;
  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans: "Libre Franklin", Arial, Helvetica, sans-serif;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.serif { font-family: var(--serif); font-weight: 400; }
.kicker { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.rule { width: 56px; height: 1px; background: var(--gold); margin: 22px 0; }
.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .35s, box-shadow .35s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand img { height: 42px; width: auto; }
.brand .logo-blue { display: none; }
.nav { display: flex; gap: 34px; }
.nav a { text-decoration: none; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: #fff; transition: color .2s; }
.nav a:hover { color: var(--gold); }
.site-header.solid { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(0,35,73,.08); }
.site-header.solid .nav a { color: var(--blue); }
.site-header.solid .brand .logo-white { display: none; }
.site-header.solid .brand .logo-blue { display: block; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: var(--blue-deep); color: #fff; display: grid; place-items: end start; }
.hero .slides { position: absolute; inset: 0; }
.hero .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0;
  transform: scale(1.04); transition: opacity 2.2s ease; animation: kb 18s linear infinite;
}
.hero .slide.on { opacity: 1; }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,26,54,.55) 0%, rgba(0,26,54,.15) 40%, rgba(0,26,54,.78) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: 96px; width: 100%; }
.hero .kicker { color: #d9c58f; }
.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 9vw, 8rem); line-height: .98; letter-spacing: -.01em; margin: 18px 0 22px; color: #fff; }
.hero h1 em { font-style: italic; font-weight: 300; }
.hero p { font-size: 1.05rem; max-width: 46ch; color: #e6ebf2; margin: 0 0 36px; font-weight: 300; }
.hero .scroll { position: absolute; right: 32px; bottom: 40px; z-index: 2; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: #d9c58f; writing-mode: vertical-rl; }
.hero .scroll::after { content: ""; display: block; width: 1px; height: 56px; background: var(--gold); margin: 14px auto 0; animation: drop 2.2s ease-in-out infinite; }
@keyframes drop { 0%,100% { transform: scaleY(.4); transform-origin: top; opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }

.btn {
  display: inline-block; padding: 15px 34px; border: 1px solid currentColor; color: inherit;
  text-decoration: none; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; transition: background .25s, color .25s;
}
.btn:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn.blue { color: var(--blue); }
.btn.blue:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- statement ---------- */
.statement { background: var(--cream); padding: 120px 0; }
.statement .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.statement h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.12; color: var(--blue); margin: 14px 0 0; }
.statement p { color: var(--text-gray); font-size: 1.05rem; max-width: 46ch; }

/* ---------- SIR-style figure grid ---------- */
.figures { background: var(--blue); color: #fff; }
.figures .grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.figures .cell { padding: 64px 36px 56px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; min-height: 240px; display: flex; flex-direction: column; justify-content: center; }
.figures b { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: 1; display: block; margin-bottom: 14px; }
.figures span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #b9c4d3; }

/* ---------- the wall ---------- */
.wall-intro { text-align: center; padding: 120px 0 56px; }
.wall-intro h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--blue); margin: 14px 0 0; line-height: 1.1; }
.wall { columns: 3; column-gap: 14px; padding: 0 14px 14px; }
.wall a { display: block; break-inside: avoid; margin: 0 0 14px; overflow: hidden; background: var(--cream); }
.wall img { width: 100%; height: auto; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; will-change: transform; }
.wall a:hover img { transform: scale(1.04); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(0,20,42,.94); display: none; place-items: center; padding: 24px; }
.lb.open { display: grid; }
.lb img { max-width: 92vw; max-height: 90vh; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; padding: 16px; line-height: 1; }
.lb .x { top: 12px; right: 18px; }
.lb .prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- band + charlie ---------- */
.band { position: relative; min-height: 62vh; display: grid; place-items: center; text-align: center; color: #fff; background: url("assets/img/band.jpg") center/cover fixed; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(0,26,54,.62); }
.band .wrap { position: relative; z-index: 2; padding: 120px 32px; }
.band h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1.1; margin: 14px auto 0; max-width: 22ch; color: #fff; }

.charlie { padding: 120px 0; }
.charlie .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 96px; align-items: center; }
.charlie img { width: 100%; }
.charlie h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.4rem); color: var(--blue); margin: 12px 0 0; line-height: 1; }
.charlie .title { color: var(--text-gray); margin: 10px 0 0; font-size: .95rem; }
.charlie p.lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--ink); margin-top: 26px; }
.contact-lines a { display: block; text-decoration: none; font-size: 1.05rem; color: var(--blue); margin: 6px 0; }
.contact-lines small { display: block; color: var(--accent-gray); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 18px; }

/* ---------- bio extras ---------- */
.charlie p { color: var(--text-gray); max-width: 60ch; }
.charlie p.sign { font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 1.2rem; margin-top: 18px; }
.creds { margin-top: 110px; background: var(--cream); }
.creds .grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid rgba(0,35,73,.14); border-top: 1px solid rgba(0,35,73,.14); }
.creds .cell { padding: 46px 34px 40px; border-right: 1px solid rgba(0,35,73,.14); border-bottom: 1px solid rgba(0,35,73,.14); }
.creds b { display: block; font-family: var(--serif); font-weight: 300; font-size: 2.7rem; line-height: 1; color: var(--blue); margin-bottom: 12px; }
.creds span { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-gray); line-height: 1.7; }
.band blockquote { margin: 18px auto 0; max-width: 34ch; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.25; color: #fff; }
.band cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--sans); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: #d9c58f; }
@media (max-width: 1000px) { .creds .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .creds .grid { grid-template-columns: 1fr; } .creds { margin-top: 56px; } .creds .cell { padding: 30px 22px 26px; } }

/* ---------- contact ---------- */
.contact { background: var(--cream); padding: 120px 0; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.contact h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--blue); margin: 14px 0 12px; line-height: 1.1; }
.contact p { color: var(--text-gray); max-width: 40ch; }
form label { display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-gray); margin: 22px 0 6px; }
form input, form textarea, form select { width: 100%; padding: 13px 0; font: inherit; color: var(--ink); border: 0; border-bottom: 1px solid #c9c5bb; background: transparent; outline: none; border-radius: 0; }
form input:focus, form textarea:focus, form select:focus { border-bottom-color: var(--blue); }
form textarea { min-height: 120px; resize: vertical; }
form button { margin-top: 30px; cursor: pointer; background: none; font-family: var(--sans); }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-deep); color: #9fb0c5; padding: 72px 0 40px; font-size: .84rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.site-footer img { height: 110px; width: auto; margin-bottom: 22px; }
.site-footer a { color: #e6ebf2; text-decoration: none; }
.site-footer .links a { margin-right: 22px; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.disclaimer { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; font-size: .72rem; line-height: 1.7; color: #7f93ad; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .figures .grid { grid-template-columns: repeat(2, 1fr); }
  .wall { columns: 2; }
  .statement .wrap, .charlie .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 22px; }
  .nav { display: none; }
  .nav.open { display: flex; position: fixed; inset: 0; background: var(--blue); flex-direction: column; justify-content: center; align-items: center; gap: 30px; z-index: 30; }
  .nav.open a { color: #fff !important; font-size: .9rem; }
  .nav-toggle { display: block; background: none; border: 0; font-size: 1.6rem; color: #fff; z-index: 31; position: relative; cursor: pointer; }
  .site-header.solid .nav-toggle { color: var(--blue); }
  .nav.open ~ .nav-toggle, .nav-toggle.open { color: #fff !important; }
  .hero { min-height: 560px; }
  .hero .wrap { padding-bottom: 72px; }
  .hero .scroll { display: none; }
  .statement, .charlie, .contact, .wall-intro { padding: 72px 0; }
  .wall-intro { padding-bottom: 32px; }
  .wall { columns: 1; padding: 0 10px 10px; }
  .wall a { margin-bottom: 10px; }
  .figures .grid { grid-template-columns: 1fr; }
  .figures .cell { min-height: 0; padding: 40px 24px; }
  .band { background-attachment: scroll; min-height: 0; }
  .band .wrap { padding: 80px 22px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}

/* ---------- photo wash options ----------
   <body class="wash-blue"> = navy wash · <body class="wash-white"> = whitewash · <body> with no class = original photos */
.wash-blue .hero::after, .wash-blue .band::after { -webkit-backdrop-filter: grayscale(.5) saturate(.7); backdrop-filter: grayscale(.5) saturate(.7); }
.wash-blue .hero::after { background: linear-gradient(180deg, rgba(0,35,73,.66) 0%, rgba(0,35,73,.58) 50%, rgba(0,20,42,.88) 100%); }
.wash-blue .band::after { background: rgba(0,35,73,.78); }

.wash-white .hero::after, .wash-white .band::after { -webkit-backdrop-filter: grayscale(.4) saturate(.6); backdrop-filter: grayscale(.4) saturate(.6); }
.wash-white .hero::after { background: linear-gradient(180deg, rgba(243,241,236,.82) 0%, rgba(243,241,236,.76) 50%, rgba(243,241,236,.94) 100%); }
.wash-white .hero h1 { color: var(--blue); }
.wash-white .hero p { color: var(--text-gray); }
.wash-white .hero .kicker, .wash-white .hero .scroll, .wash-white .band cite { color: #a4863a; }
.wash-white .hero .scroll::after { background: #a4863a; }
.wash-white .hero .btn { color: var(--blue); border-color: var(--blue); }
.wash-white .hero .btn:hover { background: var(--blue); color: #fff; }
.wash-white .site-header:not(.solid) .nav a, .wash-white .nav-toggle { color: var(--blue); }
.wash-white .site-header:not(.solid) .brand .logo-white { display: none; }
.wash-white .site-header:not(.solid) .brand .logo-blue { display: block; }
.wash-white .band::after { background: rgba(243,241,236,.84); }
.wash-white .band, .wash-white .band h2, .wash-white .band blockquote { color: var(--blue); }

/* ---------- motion ---------- */
.rise { opacity: 0; transform: translateY(26px); animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: .35s; }
.rise.d1 { animation-delay: .55s; } .rise.d2 { animation-delay: .8s; } .rise.d3 { animation-delay: 1.0s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.wall a.reveal { transition-duration: .8s; }
@media (prefers-reduced-motion: reduce) {
  .rise, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .hero .slide { animation: none; }
}
