/* Self-hosted Google Fonts (latin subset, variable): Cinzel and Open Sans. SIL Open Font License 1.1. */
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/cinzel.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(fonts/open-sans.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300; font-display: swap; src: url(fonts/open-sans-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* CjDesignNYC — static rebuild 2026. Look follows the 2016 WordPress (Ratio theme) site:
   white pages, Cinzel headings to match the engraved logo, short orange rules under titles. */
:root {
  --ink: #2b2b2b;
  --muted: #6d6a66;
  --line: #e4e0da;
  --paper: #ffffff;
  --panel: #f6f4f0;
  --accent: #ef8d37;
  --dark: #1d1c1b;
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: .06em; line-height: 1.3; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 860px; }
.rule { display: block; width: 50px; height: 1px; background: var(--accent); margin: 24px auto 26px; }

/* ---------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center;
  justify-content: space-between; padding: 0 40px; transition: background .3s, box-shadow .3s; }
.logo { display: block; width: 230px; position: relative; }
.logo img { width: 100%; }
.logo-dark { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.logo-light { transition: opacity .3s; }
.site-nav { display: flex; gap: 38px; }
.site-nav a { font: 500 13px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: #fff; padding: 8px 0;
  border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.site-nav a:hover, .site-nav a:focus-visible { border-bottom-color: var(--accent); }
.site-header.is-solid { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .logo-dark { opacity: 1; }
.site-header.is-solid .logo-light { opacity: 0; }
.site-header.is-solid .site-nav a { color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- hero slideshow */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 480px; background: #2a2622; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide { background: center/cover no-repeat; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.04); }
.slide.is-active { opacity: 1; animation: drift 9s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .slide.is-active { animation: none; transform: none; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.05) 30%, rgba(0,0,0,.05) 70%, rgba(0,0,0,.3)); }
.hero-text { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.hero-title { margin: 0; color: #fff; font: 400 clamp(40px, 8vw, 96px)/1 var(--serif); letter-spacing: .28em; text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0,0,0,.35); padding-left: .28em; }
.hero-down { position: absolute; z-index: 2; left: 50%; bottom: 32px; width: 22px; height: 22px; margin-left: -11px;
  border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(45deg); opacity: .85; }

/* ---------- sections */
.section { padding: 110px 0 80px; }
.section-title { text-align: center; font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; letter-spacing: .14em; }

/* portfolio grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.card { position: relative; display: block; text-decoration: none; overflow: hidden; background: var(--panel); }
.card-img { display: block; aspect-ratio: 4 / 3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card-info { position: absolute; inset: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: rgba(255,255,255,.9); border: 1px solid var(--accent); opacity: 0; transition: opacity .35s; padding: 12px; }
.card-title { font: 400 21px/1.3 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.card-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.card:hover .card-info, .card:focus-visible .card-info { opacity: 1; }
.card:hover img { transform: scale(1.04); }
@media (hover: none) {
  .card-info { position: static; inset: auto; opacity: 1; background: none; border: 0; padding: 14px 4px 4px; }
}

/* services */
.services { padding-bottom: 0; }
.service-list { margin-top: 10px; }
.service { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.service-img { position: relative; overflow: hidden; }
.service-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-text { background: var(--panel); padding: 9% 11%; display: flex; flex-direction: column; justify-content: center; }
.service-text h3 { text-align: center; font-size: 25px; text-transform: uppercase; letter-spacing: .1em; }
.service:nth-child(even) .service-text { background: #fff; }
.service.img-right .service-img { order: 2; }

/* about */
.about h3 { font-size: 22px; letter-spacing: .1em; text-transform: uppercase; margin: 56px 0 22px; padding-top: 34px; border-top: 1px solid var(--line); }
.about h3:first-of-type { margin-top: 30px; }

/* contact */
.contact { background: var(--panel); }
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; margin-top: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 400; margin-bottom: 6px; }
.field label span { color: var(--muted); font-weight: 300; }
.field input, .field textarea { width: 100%; font: 300 16px/1.5 var(--sans); color: var(--ink); background: #fff; border: 1px solid #d8d3cb; padding: 11px 13px; border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239,141,55,.18); }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.button { display: inline-block; font: 500 13px/1 var(--serif); letter-spacing: .22em; text-transform: uppercase; color: #fff; background: var(--dark);
  border: 1px solid var(--dark); padding: 16px 38px; cursor: pointer; text-decoration: none; transition: background .25s, color .25s; }
.button:hover, .button:focus-visible { background: var(--accent); border-color: var(--accent); }
.button[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 18px 0 0; min-height: 1.5em; font-weight: 400; }
.form-status.ok { color: #2e6b34; }
.form-status.err { color: #b3261e; }
.form-note { font-size: 14px; color: var(--muted); }
.contact-info a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-info strong { font-family: var(--serif); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }

/* ---------- project pages */
.project-hero { position: relative; height: 78vh; min-height: 420px; background: #2a2622 center/cover no-repeat; display: grid; place-items: center; text-align: center; color: #fff; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(0,0,0,.38), rgba(0,0,0,0) 100%), linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.12) 40%, rgba(0,0,0,.3)); }
.project-hero p { text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.project-hero-text { position: relative; z-index: 1; padding: 0 24px; }
.project-hero h1 { font-size: clamp(34px, 6vw, 70px); text-transform: uppercase; letter-spacing: .16em; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.project-hero p { margin: 14px 0 0; font-size: 18px; letter-spacing: .08em; }
.project-hero p::before { content: ""; display: block; width: 50px; height: 1px; background: var(--accent); margin: 0 auto 16px; }
.project-body { padding-top: 90px; padding-bottom: 30px; max-width: 1100px; }
.row { display: flex; gap: 40px; margin-bottom: 64px; align-items: flex-start; }
.col { flex: 1 1 0; min-width: 0; }
.col.w2-3 { flex: 2 1 0; }
.col.w1-3 { flex: 1 1 0; }
.col figure { margin: 0 0 22px; }
.col figure img { width: 100%; }
.col p { color: #46433f; }
.project-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 36px; padding-bottom: 90px; max-width: 1100px; }
.project-nav a { text-decoration: none; font-family: var(--serif); letter-spacing: .08em; }
.project-nav a span { display: block; font: 400 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.project-nav a:hover { color: var(--accent); }
.project-nav .all { text-transform: uppercase; letter-spacing: .2em; font-size: 13px; }
.project-nav .next { text-align: right; }
.notfound { padding-top: 190px; padding-bottom: 120px; text-align: center; }

/* ---------- footer */
.site-footer { background: var(--dark); color: #bdb8b1; font-size: 15px; padding: 80px 0 30px; }
.site-footer a { color: #e9e5df; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 48px; }
.footer-logo { width: 220px; margin-bottom: 22px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer-projects { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.footer-projects li { margin-bottom: 6px; break-inside: avoid; }
.copyright { text-align: center; font-size: 13px; color: #8a857e; margin: 60px 0 0; padding: 0 16px; }

/* ---------- responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .site-header { padding: 0 16px; }
  .logo { width: 170px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
  .nav-toggle span:not(.sr) { display: block; height: 1px; background: #fff; transition: transform .3s, opacity .3s, background .3s; }
  .site-header.is-solid .nav-toggle span:not(.sr), .nav-open .nav-toggle span:not(.sr) { background: var(--ink); }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.08);
    padding: 8px 16px 16px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .site-nav a { color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-open .site-header { background: #fff; }
  .nav-open .logo-dark { opacity: 1; }
  .nav-open .logo-light { opacity: 0; }
  .nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0 60px; }
  .service, .service.img-right { grid-template-columns: 1fr; min-height: 0; }
  .service .service-img { order: 0; aspect-ratio: 4 / 3; }
  .service.img-right .service-img { order: 0; }
  .service-text { padding: 44px 16px 52px; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .row { flex-direction: column; gap: 0; margin-bottom: 40px; }
  .project-body { padding-top: 56px; }
  .project-hero { height: 62vh; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-nav { flex-wrap: wrap; }
  .project-nav .all { order: 3; width: 100%; text-align: center; }
}
