/* Continos Law. Noir theme. No build step: edit and deploy. */

:root {
  --black: #000000;
  --ink: #0d0d0d;
  --panel: #111111;
  --line: #2e2e2e;
  --white: #ffffff;
  --soft: #e2e2e2;
  --mute: #b5b5b5;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 40px);
  /* Headshot focus points. Change these if a new photo crops badly:
     first value = left/right, second = up/down (0% = top of photo). */
  --portrait-focus: 50% 15%;
  --landscape-focus: 50% 20%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  position: relative;
  background: var(--black);
  color: var(--white);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:hover { color: var(--mute); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--white); color: var(--black); padding: 12px 18px; }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Type */
.label { display: block; font-size: 13px; font-weight: 400; line-height: 1.5; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mute); }
.display { font-weight: 200; text-transform: uppercase; letter-spacing: -0.015em; line-height: 0.94; }
.d1 { font-size: clamp(54px, 9.6vw, 148px); }
.d2 { font-size: clamp(40px, 5.6vw, 84px); }
.d3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--soft); max-width: 30em; }
.fine { font-size: 14px; color: var(--mute); max-width: 46em; }
.fine a { color: var(--white); text-underline-offset: 4px; }
.tlink { font-size: 15px; text-underline-offset: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 38px;
  border: 1px solid var(--white); border-radius: 999px;
  font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.btn--solid { background: var(--white); color: var(--black); }
.btn--solid:hover { background: var(--soft); color: var(--black); }
.btn--ghost { background: transparent; color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn[hidden] { display: none; }
.btn--sm { min-height: 46px; padding: 0 26px; font-size: 13px; font-weight: 400; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 96px; }
.logo { font-size: 17px; font-weight: 500; letter-spacing: 0.36em; text-decoration: none; white-space: nowrap; }
.logo span { font-weight: 200; }
.nav { display: flex; gap: 30px; font-size: 13px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--white); }

.menu { display: none; }
.menu summary {
  position: relative; z-index: 60; list-style: none; cursor: pointer;
  width: 48px; height: 48px; border: 1px solid var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.menu summary::-webkit-details-marker { display: none; }
.menu .icon-close { display: none; }
.menu[open] .icon-open { display: none; }
.menu[open] .icon-close { display: block; }
.menu__panel { display: none; }
.menu[open] .menu__panel {
  display: flex; flex-direction: column; gap: 4px;
  position: fixed; inset: 0; z-index: 50; overflow: auto;
  background: var(--black); padding: 112px var(--pad) 40px;
}
.menu__panel a { font-size: 32px; font-weight: 200; text-transform: uppercase; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu__panel .btn { margin-top: 28px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--white); padding: 0 38px; }
@media (max-width: 980px) {
  .nav, .site-header .btn--sm { display: none; }
  .menu { display: block; }
}

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; min-height: min(92vh, 860px); padding: 168px 0 72px; }
.hero--inner { min-height: 600px; }
.hero--plain { min-height: 0; padding-top: 152px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.5) 36%, rgba(0,0,0,0.94) 100%); }
.hero--plain::after { display: none; }
.hero .wrap { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; gap: 28px; }
.hero h1 .label { color: #d6d6d6; margin-bottom: 26px; letter-spacing: 0.32em; }
.hero__row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--flush { padding-top: 0; }
.section--panel { background: var(--ink); border-top: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }

/* Practice tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.tile { position: relative; min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; overflow: hidden; text-decoration: none; background: var(--panel); }
.tile:hover { color: var(--white); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.88) 100%); }
.tile > span { position: relative; z-index: 1; }
.tile__n { font-size: 13px; letter-spacing: 0.3em; color: #d6d6d6; }
.tile__t { font-size: clamp(28px, 7.4vw, 40px); font-weight: 200; line-height: 1.1; text-transform: uppercase; padding: 8px 0 10px; }
.tile__d { font-size: 16px; color: var(--soft); }
@media (max-width: 640px) { .tile { min-height: 420px; } }

/* Framed band */
.frame { border: 1px solid var(--line); padding: clamp(32px, 6vw, 88px); display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.frame__main { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; }
.frame__side { flex: 0 1 380px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; color: #d6d6d6; }

/* Split: photo and text */
.split { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split__text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.portrait { aspect-ratio: 3 / 4; max-height: 800px; overflow: hidden; background: #1a1a1a; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: var(--portrait-focus); }
.wide { aspect-ratio: 3 / 2; max-height: 640px; width: 100%; overflow: hidden; background: #1a1a1a; }
.wide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--landscape-focus); }

/* Numbered rows */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(48px, 110px) minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px 40px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); }
.row__n { font-size: 13px; letter-spacing: 0.3em; color: var(--mute); }
.row__d { color: #d6d6d6; max-width: 32em; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px; }
.step { border-top: 1px solid var(--white); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.step h3 { font-size: 24px; font-weight: 300; }
.step p { color: #d6d6d6; }

/* Inquire band and contact */
.cta .wrap { display: flex; flex-wrap: wrap; gap: 40px 96px; align-items: flex-end; justify-content: space-between; }
.cta__main { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.contact { display: flex; flex-direction: column; gap: 4px; font-size: 20px; }
.contact a { text-decoration: none; }
.contact a[href^="mailto"] { text-decoration: underline; text-underline-offset: 6px; }

/* Two columns: text and form */
.duo { display: flex; flex-wrap: wrap; gap: 48px 96px; }
.duo > * { flex: 1 1 380px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 26px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 26px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 12px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 2px;
  border: 0; border-bottom: 1px solid #8a8a8a; border-radius: 0;
  background: transparent; color: var(--white);
  font-family: inherit; font-size: 18px; font-weight: 300;
}
.field select { background: var(--ink); }
.field textarea { height: auto; padding: 10px 2px; resize: vertical; }
.field input[type="file"] { height: auto; padding: 12px 0; font-size: 15px; border-bottom-style: dashed; }
.field input[type="date"] { color-scheme: dark; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--white); }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; }

/* Person card */
.person { display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; }
.person__img { width: 148px; height: 148px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #1a1a1a; }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--portrait-focus); }
.person__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--mute); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; align-items: flex-start; }
.site-footer .logo { color: var(--white); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer nav a { text-decoration: none; color: var(--soft); padding: 8px 0; }
.site-footer .contact { font-size: 16px; color: var(--soft); }
.legal { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; }
.legal a { color: var(--mute); text-underline-offset: 4px; }

/* Proof band (15+ years) */
.proof { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 96px) 0; }
.proof .display { flex: 1 1 560px; }
.proof .fine { flex: 0 1 320px; }

/* Entertainment feature on home */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 640px; background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature__img { position: relative; overflow: hidden; }
.feature__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__text { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 24px; padding: clamp(40px, 6vw, 88px); }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature__img { min-height: 420px; } .feature__text { padding: 48px var(--pad); } }

/* Service router (Inquire page) */
.router { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.route { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 260px; padding: 30px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.route:hover { border-color: var(--white); background: var(--ink); color: var(--white); }
.route__t { font-size: clamp(26px, 2.6vw, 34px); font-weight: 200; line-height: 1.1; text-transform: uppercase; }
.route__d { color: #d6d6d6; font-size: 16px; }
.route__go { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; }

/* Intake forms */
.intake-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 48px 96px; align-items: start; }
.intake-wrap > .stack { position: sticky; top: 32px; }
@media (max-width: 980px) { .intake-wrap { grid-template-columns: 1fr; } .intake-wrap > .stack { position: static; } }
.intake { display: flex; flex-direction: column; gap: 0; }
.istep { display: flex; flex-direction: column; gap: 26px; padding: 34px 0 40px; border-top: 1px solid var(--line); }
.istep[hidden] { display: none; }
.istep__t { display: flex; gap: 18px; align-items: baseline; font-size: 22px; font-weight: 300; text-transform: uppercase; letter-spacing: 0.04em; }
.istep__t span { font-size: 13px; letter-spacing: 0.3em; color: var(--mute); }
.q { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.q[hidden], .field[hidden], .grid2[hidden] { display: none; }
.q legend { padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border: 1px solid #5c5c5c; border-radius: 999px; font-size: 15px; line-height: 1.3; transition: border-color 0.15s, background-color 0.15s, color 0.15s; }
.choice:hover span { border-color: var(--white); }
.choice input:checked + span { background: var(--white); border-color: var(--white); color: var(--black); }
.choice input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }
.hint { font-size: 14px; color: var(--mute); }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: #d6d6d6; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--white); }
.consent a { color: var(--white); text-underline-offset: 4px; }
.inav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-top: 8px; }
.inav[hidden] { display: none; }
.inav .btn { min-width: 150px; }
.progress { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.progress[hidden] { display: none; }
.progress__bar { height: 2px; background: var(--line); }
.progress__bar i { display: block; height: 100%; width: 0; background: var(--white); transition: width 0.3s ease; }
.progress__txt { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }
.intake .actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.intake.is-js .istep { border-top: 0; padding-top: 18px; }

/* Testimonials: ready for later. Hidden until real, approved testimonials exist. */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.quote { border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-size: 20px; font-weight: 200; }
.quote cite { font-style: normal; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); }

/* Long-form text (privacy policy) */
.prose { max-width: 46em; display: flex; flex-direction: column; gap: 18px; color: #d6d6d6; }
.prose h2 { margin-top: 26px; font-size: 22px; font-weight: 400; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--white); text-underline-offset: 4px; }
.draft-note { border: 1px dashed #8a8a8a; padding: 18px 22px; color: var(--white); font-size: 15px; }

/* Footer disclaimer */
.disclaimer { flex: 1 1 100%; font-size: 13px; color: var(--mute); max-width: 60em; }

/* Phone: sticky Inquire button */
.sticky { display: none; }
@media (max-width: 640px) {
  .sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px 16px 16px; background: var(--black); border-top: 1px solid var(--line); }
  .sticky .btn { width: 100%; }
  .sticky ~ .site-footer { padding-bottom: 128px; }
  .hero { padding-top: 136px; padding-bottom: 48px; }
  .hero--plain { padding-top: 124px; padding-bottom: 40px; }
  .hero--inner { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
