/* TJG Photography: shared styles */
  :root {
    --bg: #1c1c1c;
    --bg-2: #242424;
    --bg-3: #2e2e2e;
    --ink: #f2efe9;
    --ink-2: #b9b4ab;
    --ink-3: #8a857c;
    --line: #3a3a3a;
    --accent: #c9a96e;
    --serif: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --sans: "Inter", system-ui, -apple-system, sans-serif;
    --max: 1180px;
    --frame: 3px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

  /* Nav */
  header.nav { position: sticky; top: 0; z-index: 10; background: rgba(28,28,28,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .logo { font-family: var(--serif); font-size: 17px; letter-spacing: .06em; }
  .logo span { color: var(--ink-3); margin: 0 6px; }
  .nav ul { display: flex; gap: 28px; list-style: none; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
  .nav ul a { color: var(--ink-2); transition: color .2s; }
  .nav ul a:hover { color: var(--ink); }
  .nav .cta-sm { border: 1px solid var(--ink-2); padding: 8px 14px; color: var(--ink) !important; }
  .menu-btn { display: none; background: none; border: 0; color: var(--ink); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

  /* Placeholder imagery */
  .ph { position: relative; background: linear-gradient(135deg, #3b3833 0%, #262523 55%, #1f1f1f 100%); overflow: hidden; }
  .ph::after { content: attr(data-shot); position: absolute; left: 14px; bottom: 12px; right: 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  /* White print-style frame on every photo (applies automatically to any new photo) */
  .ph.ph:has(> img)::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border: var(--frame) solid #fff; z-index: 3; pointer-events: none; }
  .g-third { aspect-ratio: 4/5 !important; }
  .ph.warm { background: linear-gradient(160deg, #5a4a36 0%, #2d2720 60%, #1f1d1a 100%); }
  .ph.cool { background: linear-gradient(160deg, #2f3a44 0%, #23282d 60%, #1c1e20 100%); }
  .ph.mono { background: linear-gradient(160deg, #4a4a4a 0%, #262626 60%, #1a1a1a 100%); }

  /* Hero */
  .hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 64px); }
  .hero .ph { min-height: 420px; }
  .hero-half { position: relative; display: flex; align-items: flex-end; }
  .hero-half .ph { position: absolute; inset: 0; }
  .hero-half .ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.55) 25%, rgba(0,0,0,0) 48%); z-index: 1; }
  .hero-half .ph::after { top: 16px; bottom: auto; z-index: 2; }
  /* Shared edge between the two banner photos: one 3px frame line, not two */
  .hero-half + .hero-half .ph.ph:has(> img)::after { border-left-width: 0; }
  .hero-copy { position: relative; z-index: 2; padding: 48px; }
  .eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
  .hero-copy .eyebrow { display: inline-block; background: #fff; color: #111; font-weight: 600; padding: 6px 10px 6px 12px; }
  .hero-copy h2 { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
  .hero-copy p { color: var(--ink); text-shadow: 0 1px 2px rgba(0,0,0,.8), 0 0 14px rgba(0,0,0,.6); }
  .hero-copy h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; margin-bottom: 14px; }
  .hero-copy p { color: var(--ink-2); max-width: 380px; margin-bottom: 24px; }
  .btn { display: inline-block; border: 1px solid var(--ink); padding: 12px 22px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s; }
  .btn:hover { background: var(--ink); color: var(--bg); }
  .btn.solid { background: var(--ink); color: var(--bg); }
  .btn.solid:hover { background: transparent; color: var(--ink); }

  .intro { text-align: center; padding: 96px 0 72px; }
  .intro h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; max-width: 760px; margin: 0 auto 18px; }
  .intro p { color: var(--ink-2); max-width: 620px; margin: 0 auto; }

  /* Sections */
  section.block { padding: 96px 0; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
  section.alt { background: var(--bg-2); }
  .section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
  .section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; }
  .section-head p { color: var(--ink-2); }

  .gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; margin-bottom: 72px; }
  .gallery .ph { aspect-ratio: 4/3; }
  .g-wide { grid-column: span 8; }
  .g-tall { grid-column: span 4; aspect-ratio: auto !important; }
  .g-third { grid-column: span 4; }
  .g-half { grid-column: span 6; }
  .g-quarter { grid-column: span 3; aspect-ratio: 4/5 !important; }

  .why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 72px; }
  .why h3 { font-family: var(--serif); font-weight: 500; font-size: 17px; margin-bottom: 8px; }
  .why p { color: var(--ink-2); font-size: 15px; }

  .sub { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 20px; }
  .packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
  .pkg { background: var(--bg-3); border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; }
  section.alt .pkg { background: var(--bg); }
  .pkg.featured { border-color: var(--accent); }
  .pkg .tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); min-height: 16px; margin-bottom: 8px; }
  .pkg h4 { font-family: var(--serif); font-weight: 500; font-size: 20px; }
  .pkg .price { font-family: var(--serif); font-size: 32px; margin: 6px 0 18px; }
  .pkg ul { list-style: none; color: var(--ink-2); font-size: 14px; flex: 1; }
  .pkg li { padding: 7px 0; border-top: 1px solid var(--line); }
  .pkg li:first-child { border-top: 0; }
  .pkg .btn { margin-top: 24px; text-align: center; }

  .rates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
  .rate { border: 1px solid var(--line); padding: 28px; }
  .rate h4 { font-family: var(--serif); font-weight: 500; font-size: 17px; margin-bottom: 12px; }
  .rate dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 14px; }
  .rate dt { color: var(--ink-2); }
  .rate dd { text-align: right; }
  .note { font-size: 13px; color: var(--ink-3); }
  .addons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
  .addons span { border: 1px solid var(--line); padding: 8px 14px; font-size: 13px; color: var(--ink-2); }
  .addons b { color: var(--ink); font-weight: 500; }

  /* Prints */
  .prints { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
  .print .ph { aspect-ratio: 4/5; margin-bottom: 12px; }
  .print h5 { font-family: var(--serif); font-size: 15px; font-weight: 500; }
  .print p { font-size: 13px; color: var(--ink-3); }
  .sizes { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 16px; }
  .sizes div { padding: 18px; text-align: center; border-left: 1px solid var(--line); }
  .sizes div:first-child { border-left: 0; }
  .sizes b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
  .sizes span { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }

  /* About */
  .about { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
  .about .ph { aspect-ratio: 4/5; }
  .about .about-photo { aspect-ratio: 2/3; }
  .about h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; margin-bottom: 20px; }
  .about p { color: var(--ink-2); margin-bottom: 16px; }
  .kit { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .kit div { border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; color: var(--ink-2); }
  .kit b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

  /* Policies */
  .policies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .policies h5 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; font-weight: 500; }
  .policies p { font-size: 14px; color: var(--ink-2); }
  .founding { margin-top: 48px; border: 1px solid var(--accent); padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .founding h4 { font-family: var(--serif); font-size: 19px; font-weight: 500; }
  .founding p { color: var(--ink-2); font-size: 14px; }

  /* Form */
  form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field.full { grid-column: 1 / -1; }
  label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  input, select, textarea { background: var(--bg); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 0; }
  section.alt input, section.alt select, section.alt textarea { background: var(--bg-3); }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
  textarea { min-height: 120px; resize: vertical; }
  form .btn { cursor: pointer; justify-self: start; font-family: var(--sans); }
  .form-msg { grid-column: 1/-1; color: var(--accent); font-size: 14px; display: none; }

  footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 13px; color: var(--ink-3); }
  footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
  footer a:hover { color: var(--ink); }

  /* Display type: wide, all-caps Archivo */
  body :is(.logo, h1, h2, h3, h4, h5, .price, .sizes b) { text-wrap: balance; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-stretch: 115%; }
  body :is(.logo) { font-weight: 500; letter-spacing: .14em; }
  body :is(.why h3, .pkg h4, .rate h4, .print h5, .founding h4) { letter-spacing: .06em; }
  body :is(h1, .about h2) { font-weight: 500; }

  @media (max-width: 900px) {
    .nav ul { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
    .nav ul.open { display: flex; }
    .nav ul li a { display: block; padding: 16px 24px; }
    .nav .cta-sm { border: 0; padding: 16px 24px; }
    .menu-btn { display: block; }
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero-half + .hero-half .ph.ph:has(> img)::after { border-left-width: var(--frame); border-top-width: 0; }
    .hero-half { min-height: 70vh; }
    .hero-copy { padding: 32px 24px; }
    .section-head, .about { grid-template-columns: 1fr; gap: 20px; }
    .why, .packages, .rates, .policies { grid-template-columns: 1fr; }
    .prints { grid-template-columns: 1fr 1fr; }
    .sizes { grid-template-columns: 1fr 1fr; }
    .sizes div:nth-child(3) { border-left: 0; }
    .sizes div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .g-wide, .g-tall, .g-third { grid-column: span 12; }
    .g-tall { aspect-ratio: 4/3 !important; }
    .g-half { grid-column: span 12; }
    .g-quarter { grid-column: span 6; }
    form { grid-template-columns: 1fr; }
    .founding { flex-direction: column; align-items: flex-start; }
    .kit { grid-template-columns: 1fr; }
    section.block { padding: 64px 0; }
  }
  @media (max-width: 600px) { .wrap { padding: 0 16px; } }

  /* Current page in nav */
  .nav ul a[aria-current="page"] { color: var(--ink); }

  /* ===== Portfolio page ===== */
  .pf-head { padding-top: 72px; padding-bottom: 32px; }
  .pf-head h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.05; margin-bottom: 12px; }
  .pf-head p { color: var(--ink-2); }
  .pf-tabs { position: sticky; top: 64px; z-index: 9; background: rgba(28,28,28,.94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .pf-tabs-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 12px; padding-bottom: 12px; }
  .pf-tabs-inner::-webkit-scrollbar { display: none; }
  .pf-tab { flex: none; white-space: nowrap; padding: 8px 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border: 1px solid transparent; transition: color .2s, border-color .2s; }
  .pf-tab span { color: var(--ink-3); margin-left: 4px; }
  .pf-tab:hover { color: var(--ink); }
  .pf-tab[aria-current="true"] { color: var(--ink); border-color: var(--ink-2); }
  .pf-body { padding-top: 32px; }
  .pf-cat { scroll-margin-top: 140px; margin-bottom: 56px; }
  .pf-cat-title { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; }
  .pf-js .pf-cat-title { display: none; }
  .pf-grid { columns: 3 280px; column-gap: 12px; }
  .pf { display: block; break-inside: avoid; margin: 0 0 12px; cursor: zoom-in; }
  .ph.pf > img { position: static; height: auto; display: block; transition: opacity .3s; }
  .pf:hover > img { opacity: .88; }
  .pf-cta { text-align: center; padding-top: 24px; padding-bottom: 96px; }
  .pf-cta h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); margin-bottom: 24px; }

  /* Lightbox */
  .lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,12,12,.97); color: var(--ink); }
  .lb[open] { display: flex; align-items: center; justify-content: center; }
  .lb::backdrop { background: rgba(0,0,0,.85); }
  .lb-fig { margin: 0; background: none; display: inline-block; }
  .ph.lb-fig > img { position: static; display: block; width: auto; height: auto; max-width: calc(100vw - 140px); max-height: calc(100vh - 100px); }
  .lb button { position: absolute; z-index: 5; background: none; border: 0; color: var(--ink); cursor: pointer; font: 300 44px/1 var(--sans); padding: 12px 16px; opacity: .75; }
  .lb button:hover { opacity: 1; }
  .lb-close { top: 8px; right: 8px; font-size: 36px !important; }
  .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
  .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
  .lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
  @media (max-width: 700px) {
    .pf-grid { columns: 2; column-gap: 8px; }
    .pf { margin-bottom: 8px; }
    .ph.lb-fig > img { max-width: calc(100vw - 24px); max-height: calc(100vh - 120px); }
    .lb-prev, .lb-next { top: auto; bottom: 4px; transform: none; }
  }
  .about-link { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: color .2s; }
  .about-link:hover { color: var(--accent); }
