/* DC Productions — site styles. Colors and type follow the brand style guide. */
:root {
  --ivory: #f7f2eb;
  --linen: #efe7dc;
  --sand: #e4dcd1;
  --taupe: #cfc4b6;
  --stone: #6b6058;
  --espresso: #2a2320;
  --dusty-blue: #7a8ca0;
  --blue-deep: #4f6276;
  --blue-mist: #dce3ea;
  --success: #4e6b4f;
  --error: #a24a3d;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: Jost, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--espresso); font-family: var(--font-body); font-size: 16px; line-height: 26px; }
img { display: block; max-width: 100%; }
a { color: var(--blue-deep); }
a:hover { color: var(--espresso); }
:focus-visible { outline: 3px solid var(--blue-mist); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.bg-linen { background: var(--linen); }
.bg-mist { background: var(--blue-mist); }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }

.eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--stone); margin: 0; }
.display-xl { font-family: var(--font-display); font-weight: 500; font-size: 64px; line-height: 68px; margin: 0; }
.display-l { font-family: var(--font-display); font-weight: 500; font-size: 44px; line-height: 50px; margin: 0; }
.heading { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 38px; margin: 0; }
.subheading { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 24px; line-height: 32px; margin: 0; }
.lead { font-size: 18px; line-height: 30px; font-weight: 300; margin: 0; }
.muted { color: var(--stone); }
.small { font-size: 14px; line-height: 22px; }

/* Buttons */
.btn, .btn-outline, .btn-blue { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 32px; border-radius: 2px; font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid var(--espresso); }
.btn { background: var(--espresso); color: var(--ivory); }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--ivory); }
.btn-outline { background: transparent; color: var(--espresso); }
.btn-outline:hover, .btn-outline[aria-pressed="true"] { background: var(--espresso); color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--blue-deep); padding: 12px 0; display: inline-block; }

/* Header */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--sand); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--espresso); }
.mono { border: 1px solid currentColor; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 500; line-height: 1; flex: none; }
.mono .c { font-style: italic; margin-left: -.22em; color: var(--dusty-blue); }
.brand .mono { width: 52px; height: 52px; font-size: 31px; padding-bottom: 3px; }
.brand-name { display: flex; flex-direction: column; gap: 3px; }
.brand-name b { font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: .28em; }
.brand-name span { font-size: 10px; letter-spacing: .42em; color: var(--stone); line-height: 1.2; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.site-nav a { padding: 14px; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--espresso); border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { color: var(--blue-deep); border-bottom-color: var(--blue-deep); }
.site-nav a.btn { margin-left: 10px; padding: 0 26px; color: var(--ivory); border: 1px solid var(--espresso); }

/* Photos and placeholders */
.photo { width: 100%; height: 100%; object-fit: cover; background: var(--sand); }
.ph { display: flex; align-items: center; justify-content: center; background: var(--taupe); color: #4a403a; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.ph.alt { background: #d9cfc2; }

/* Home */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 72px 0 104px; }
.hero-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
.hero-photo { flex: 1.3 1 480px; height: 620px; overflow: hidden; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.type-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--espresso); }
.type-card .frame { height: 340px; overflow: hidden; }
.type-card p { margin: 0; }
.mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 280px; gap: 16px; }
.mosaic > :first-child { grid-row: span 2; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.split > .split-photo { flex: 1 1 380px; height: 560px; overflow: hidden; }
.split > .split-text { flex: 1.2 1 420px; display: flex; flex-direction: column; gap: 20px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.step { border-top: 1px solid var(--taupe); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--dusty-blue); }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; margin: 0; }
.step p { margin: 0; }
.quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 30px; line-height: 40px; margin: 0; max-width: 760px; }

/* Filters and tabs */
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.pills a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 22px; border: 1px solid var(--espresso); border-radius: 2px; color: var(--espresso); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.pills a[aria-current="page"] { background: var(--espresso); color: var(--ivory); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; border-bottom: 1px solid var(--sand); }
.tabs a { min-height: 48px; display: inline-flex; align-items: center; padding: 0 24px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--stone); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.tabs a[aria-current="page"] { color: var(--espresso); border-bottom-color: var(--espresso); }

/* Portfolio */
.batch { display: flex; flex-direction: column; gap: 24px; }
.batch + .batch { margin-top: 80px; }
.batch-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--sand); padding-bottom: 16px; }
.batch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.batch-grid > :first-child { grid-column: span 2; grid-row: span 2; }
.batch-grid button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }

/* Pricing */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.card { background: var(--linen); border-radius: 2px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.card.featured { background: var(--blue-mist); }
.tag { align-self: flex-start; padding: 6px 12px; background: var(--blue-deep); color: var(--ivory); font-size: 11px; font-weight: 500; letter-spacing: .24em; border-radius: 2px; }
.price { font-family: var(--font-display); font-weight: 500; font-size: 44px; line-height: 50px; }
.card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.addon { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--taupe); }

/* Forms */
.form-card { background: var(--linen); border-radius: 2px; padding: 40px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 22px; }
.field input, .field select, .field textarea { height: 48px; padding: 0 14px; border: 1px solid var(--stone); border-radius: 2px; background: var(--ivory); color: var(--espresso); font: 16px var(--font-body); }
.field textarea { height: 140px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px var(--blue-mist); }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 2px; font-size: 15px; }
.notice.error { background: #f6e3df; color: var(--error); }
.notice.ok { background: #e3ece3; color: var(--success); }
.next-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; border-top: 1px solid var(--taupe); padding-top: 24px; }
.next-steps div { display: flex; gap: 16px; }
.next-steps .n { font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--blue-deep); }

/* Login card */
.login-wrap { padding: 104px 24px; display: flex; justify-content: center; background: var(--linen); }
.login-card { width: 100%; max-width: 480px; background: var(--ivory); border-radius: 2px; padding: 48px 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.login-card form { width: 100%; display: flex; flex-direction: column; gap: 18px; margin-top: 12px; text-align: left; }
.lock { width: 64px; height: 64px; border: 1px solid var(--dusty-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Client gallery */
.cover { height: 560px; overflow: hidden; background: var(--taupe); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.tile > button.open { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.heart { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ivory); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.heart svg { fill: none; }
.heart[aria-pressed="true"] svg { fill: var(--blue-deep); }
.photo-grid.only-favs .tile:not(.fav) { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(28, 23, 21, .94); display: none; align-items: center; justify-content: center; z-index: 50; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox .lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--taupe); background: transparent; color: var(--ivory); font-size: 22px; cursor: pointer; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-actions { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.lightbox .lb-actions a, .lightbox .lb-actions button { min-height: 44px; padding: 0 20px; border: 1px solid var(--taupe); border-radius: 2px; background: transparent; color: var(--ivory); font: 500 12px var(--font-body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; cursor: pointer; }

/* Footer */
.site-footer { background: var(--espresso); color: var(--ivory); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-cols h2 { font-size: 12px; font-weight: 500; letter-spacing: .3em; color: var(--taupe); margin: 0 0 8px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .mono { width: 60px; height: 60px; font-size: 36px; padding-bottom: 3px; }
.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-list .row { display: flex; align-items: center; gap: 10px; }
.footer-base { border-top: 1px solid #4a403a; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--taupe); }

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .display-xl { font-size: 44px; line-height: 50px; }
  .display-l { font-size: 34px; line-height: 40px; }
  .hero { padding: 40px 0 64px; gap: 32px; }
  .hero-photo { height: 420px; }
  .split > .split-photo { height: 420px; }
  .cover { height: 320px; }
  .batch-grid > :first-child { grid-column: auto; grid-row: auto; }
  .mosaic > :first-child { grid-row: auto; }
  .form-card, .card { padding: 24px; }
  .site-nav a { padding: 12px 10px; }
  .site-nav a.btn { margin-left: 0; }
}
