/* brooklynchaseweb.com · Brownstone (brick and cream) */
:root {
  --cream: #FAF6EF;
  --paper: #FFFDF9;
  --ink: #2B2622;
  --soft: #574F47;
  --muted: #7C736A;
  --brick: #8C4A32;
  --line: #E4D6C8;
  --shell: 1160px;
  --display: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--cream); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.16; letter-spacing: -.01em; margin: 0 0 .55rem; }
p { margin: 0 0 1rem; }

/* cornice: a thick rule over a thin one, used under every heading */
.cornice { height: 5px; border-top: 3px solid var(--brick); border-bottom: 1px solid var(--line); margin: .1rem 0 1rem; }
.sec-head { margin-bottom: 1.6rem; }
.sec-head .cornice { max-width: 100%; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .18em;
           text-transform: uppercase; color: var(--brick); margin: 0 0 .5rem; }
.eyebrow .num { display: inline-block; margin-right: .6rem; padding: .05rem .45rem .1rem;
                border: 1px solid var(--line); background: var(--paper); letter-spacing: .06em; }
.section-sub { color: var(--muted); max-width: 62ch; margin: -.3rem 0 1.4rem; }
.note { color: var(--muted); font-size: .89rem; margin: 1.1rem 0 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, .94);
               border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
                padding: .72rem 24px; flex-wrap: wrap; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.16rem; letter-spacing: -.01em;
            text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav-links { display: flex; align-items: center; gap: .95rem; flex-wrap: wrap; }
.nav-links a { color: var(--soft); text-decoration: none; font-size: .88rem; padding: .1rem 0;
               border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--brick); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brick); }
.btn { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 600;
       text-decoration: none; border: 1px solid transparent; padding: .58rem 1.1rem; font-size: .92rem;
       transition: background .18s ease, color .18s ease, border-color .18s ease; }
.btn-outline { border-color: var(--brick); color: var(--brick); background: transparent; }
.btn-outline:hover { background: var(--brick); color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); padding: .72rem 1.4rem; }
.btn-solid:hover { background: #443C34; border-color: #443C34; }

/* fixed-ratio image boxes: padding-top technique, works in every engine */
.ratio { position: relative; overflow: hidden; background: #F1E7DA; }
.ratio::before { content: ""; display: block; }
.ratio img { position: absolute; top: 0; left: 0; width: 100%; height: 100%;
             object-fit: cover; object-position: center 20%; }
.r-4x5::before { padding-top: 125%; }
.r-3x4::before { padding-top: 133.3334%; }
.r-5x3::before { padding-top: 60%; }
.r-4x5 img { object-position: center 16%; }
.r-3x4 img { object-position: center 22%; }
.r-5x3 img { object-position: center 24%; }

/* brick band: two offset courses of brick joints */
.brick-band { height: 16px; background-color: #F5EBE0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='88' height='16'><rect width='88' height='16' fill='%23F5EBE0'/><g fill='%23EDDCC9'><rect x='0' y='0' width='22' height='8'/><rect x='44' y='0' width='22' height='8'/><rect x='11' y='8' width='22' height='8'/><rect x='55' y='8' width='22' height='8'/></g><g fill='none' stroke='%238C4A32' stroke-width='1'><path d='M0 .5H88M0 8.5H88M0 15.5H88'/><path d='M.5 0V8M22.5 0V8M44.5 0V8M66.5 0V8M87.5 0V8'/><path d='M11.5 8V16M33.5 8V16M55.5 8V16M77.5 8V16'/></g></svg>");
              border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.parapet { height: 16px; background-color: #F5EBE0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='88' height='16'><rect width='88' height='16' fill='%23F5EBE0'/><g fill='%23EDDCC9'><rect x='0' y='0' width='22' height='8'/><rect x='44' y='0' width='22' height='8'/><rect x='11' y='8' width='22' height='8'/><rect x='55' y='8' width='22' height='8'/></g><g fill='none' stroke='%238C4A32' stroke-width='1'><path d='M0 .5H88M0 8.5H88M0 15.5H88'/><path d='M.5 0V8M22.5 0V8M44.5 0V8M66.5 0V8M87.5 0V8'/><path d='M11.5 8V16M33.5 8V16M55.5 8V16M77.5 8V16'/></g></svg>");
           border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* hero */
.hero { padding: 2.1rem 0 2.2rem; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 2.4rem; align-items: start; }
.hero-kicker { font-family: var(--display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
               color: var(--brick); margin: 0 0 .8rem; }
.hero-title { font-family: var(--display); font-weight: 700; margin: 0 0 .1rem;
              font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1; letter-spacing: -.02em; }
.hero-tagline { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.35;
                margin: 0 0 .85rem; max-width: 34ch; }
.hero-intro { color: var(--soft); max-width: 52ch; margin: 0 0 1.5rem; }
.hero-plate { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1.5rem;
              padding-top: 1rem; border-top: 1px solid var(--line); }
.plate-item { display: flex; flex-direction: column; }
.plate-k { font-family: var(--display); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
           color: var(--muted); }
.plate-v { font-family: var(--display); font-weight: 600; font-size: .98rem; }
.hero-photo { margin: 0; border: 1px solid var(--line); background: var(--paper); padding: 0; }

/* sections */
.section { padding: 2.7rem 0; }
.section-tight { padding-top: 1.1rem; }
.section-last { padding-bottom: 4rem; }

/* partners */
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 16px; }
.partner-card { display: flex; align-items: center; justify-content: center; width: 250px; height: 150px;
                border: 1px solid var(--line); background: var(--paper);
                transition: border-color .18s ease, background .18s ease; }
.partner-card:hover { border-color: var(--brick); background: #FBF3EA; }
.partner-card img { max-width: 188px; max-height: 66px; width: auto; height: auto; object-fit: contain; }

/* quick profile: brownstone window frames */
.frames { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px;
          list-style: none; margin: 0; padding: 0; }
.frame { position: relative; background: var(--paper); border: 1px solid var(--line);
         padding: 1.1rem 1rem .95rem; }
.frame::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px;
                 border-top: 2px solid var(--brick); border-bottom: 1px solid var(--line); }
.frame::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -3px; height: 2px;
                background: var(--line); }
.win-k { display: block; font-family: var(--display); font-size: .7rem; letter-spacing: .15em;
         text-transform: uppercase; color: var(--brick); margin-bottom: .3rem; }
.win-v { display: block; font-size: .96rem; color: var(--ink); }

/* about: image column and text column */
.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 2.2rem; align-items: start; }
.about-photo { margin: 0; border: 1px solid var(--line); background: var(--paper); }
.about-text p { color: var(--soft); margin: 0 0 1.05rem; }
.about-text p:first-child { margin-top: .1rem; }

/* career: floors of a building */
.career-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.career-text p { color: var(--soft); margin: 0 0 1rem; }
.floors { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--brick); }
.floors li { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: baseline;
             padding: .7rem 0 .7rem 1rem; border-bottom: 1px solid var(--line); position: relative; }
.floors li:first-child { border-top: 1px solid var(--line); }
.fl-year { font-family: var(--display); font-weight: 600; font-size: .84rem; color: var(--brick);
           border: 1px solid var(--line); background: var(--paper); padding: .12rem .5rem .18rem;
           justify-self: start; }
.fl-body { color: var(--soft); font-size: .95rem; }

/* gallery: three thin-framed cards */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.g-card { margin: 0; border: 1px solid var(--line); background: var(--paper); padding: 6px; }
.g-card:nth-child(2) { margin-top: 26px; }

/* social */
.social-list { border-top: 1px solid var(--line); max-width: 860px; }
.social-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem;
              padding: .85rem .35rem; border-bottom: 1px solid var(--line); text-decoration: none;
              transition: background .18s ease, padding .18s ease; }
.social-row .platform { font-family: var(--display); font-weight: 600; font-size: 1.04rem; }
.social-row .handle { color: var(--muted); font-size: .9rem; }
.social-row:hover { background: #F7EFE3; padding-left: .7rem; }
.social-row:hover .platform { color: var(--brick); }

/* subpages */
.page-top { padding: 2.3rem 0 .4rem; }
.page-top h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); line-height: 1.05; margin: .2rem 0 .1rem; }
.page-top .cornice { max-width: 190px; }
.page-top .lead { color: var(--muted); max-width: 64ch; margin: .9rem 0 0; }
.reading { max-width: 78ch; padding: 1.6rem 0 1rem; }
.story { margin: 0 0 2.3rem; }
.story h2 { font-size: clamp(1.22rem, 2.4vw, 1.5rem); margin-bottom: .45rem; }
.story .cornice { max-width: 120px; margin-bottom: .9rem; }
.story p { color: var(--soft); }
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { color: var(--soft); padding: .5rem 0 .5rem 1rem; position: relative;
               border-bottom: 1px solid var(--line); }
.dot-list li:first-child { border-top: 1px solid var(--line); }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 5px; height: 5px;
                       background: var(--brick); }
.credit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; margin-top: .8rem; }
.credit-col h3 { font-family: var(--display); font-weight: 600; font-size: .74rem; letter-spacing: .16em;
                 text-transform: uppercase; color: var(--brick); margin: 0 0 .5rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { color: var(--soft); font-size: .91rem; padding: .28rem 0; border-bottom: 1px solid var(--line); }
.stat-strip { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .3rem; }
.stat { border: 1px solid var(--line); background: var(--paper); padding: .75rem 1rem; min-width: 152px; }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--brick); }
.stat span { color: var(--muted); font-size: .84rem; }
.faq-list details { border-bottom: 1px solid var(--line); padding: .95rem 0; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { font-family: var(--display); font-weight: 600; font-size: 1.04rem; line-height: 1.35;
                    cursor: pointer; list-style: none; display: flex; justify-content: space-between;
                    gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--brick); font-family: var(--display);
                           transition: transform .18s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer p { color: var(--soft); margin: .65rem 0 0; max-width: 74ch; }

/* footer */
.site-footer { background: var(--cream); padding: 0 0 2.2rem; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
               gap: .9rem 1.2rem; padding-top: 1.9rem; }
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-weight: 700; }
.brand-line { color: var(--muted); font-size: .84rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center;
                white-space: nowrap; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--brick); }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; }

/* 404 */
.notfound { padding: 4rem 0 5rem; }
.notfound h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); margin: .2rem 0 .3rem; }
.notfound .cornice { max-width: 160px; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-photo { max-width: 560px; }
  .about-grid, .career-split { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-photo { max-width: 420px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-card:nth-child(2) { margin-top: 0; }
  .footer-grid { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .language-nav { justify-content: flex-start; white-space: normal; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .55rem .8rem; }
  .main-nav { gap: .6rem .8rem; }
  .nav-links { gap: .55rem .8rem; }
  .nav-links a { font-size: .84rem; }
  .btn-outline { padding: .45rem .8rem; font-size: .82rem; }
  .hero { padding: 1.5rem 0 1.8rem; }
  .hero-title { font-size: clamp(2.1rem, 11vw, 2.9rem); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-card { width: auto; height: 124px; }
  .partner-card img { max-width: 138px; max-height: 54px; }
  .frames { grid-template-columns: 1fr; }
  .career-split, .floors li { grid-template-columns: 1fr; gap: .3rem; }
  .floors li { padding-left: .8rem; }
  .floors .fl-year { justify-self: start; }
  .gallery { grid-template-columns: 1fr; }
  .credit-grid { grid-template-columns: 1fr; }
  .social-row { flex-direction: column; gap: .15rem; }
  .section { padding: 2.1rem 0; }
}
