/* US Landing Review - product page styles (draft v2, 2026-10-12: the Interlink two-door form).
   Type and tokens from the Interlink Operations system (tokens.css). The Operations door carries Interlink's
   identity (the loop mark, gold); the Legal door carries Hwang PLLC's (its navy #1A2A4A and light grey, from hwangpllc.com).
   Everything that is clicked or frames is cobalt. */

@font-face { font-family: "Newsreader"; src: url("fonts/Newsreader-VF.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3-VF.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --hp-navy: #1A2A4A;      /* Hwang PLLC: the site's text and button navy */
  --hp-navy-2: #121E36;
  --hp-navy-3: #24365C;
  --hp-grey: #E5E7EB;      /* Hwang PLLC: the site's light ground */
  --line: color-mix(in srgb, var(--io-ink) 14%, transparent);
  --muted: #5C6270;
  --paper-2: #EBE8E1;
  --measure: 66rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--io-paper);
  color: var(--io-ink);
  font-family: var(--io-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* header */
header.top { background: var(--io-ink-2); color: var(--io-paper); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.wordmark { font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.32em; text-transform: uppercase; text-decoration: none; color: var(--io-paper); }
nav.main a { color: color-mix(in srgb, var(--io-paper) 72%, transparent); text-decoration: none; font-size: 0.875rem; letter-spacing: 0.06em; margin-left: 22px; }
nav.main a:hover, nav.main a:focus-visible { color: var(--io-paper); outline: none; }

/* ---------- the two doors (the Interlink parent-page form) ---------- */
.gate { background: var(--io-ink-2); color: var(--io-paper); display: flex; flex-direction: column; }
.statement {
  margin: 0; text-align: center;
  padding: clamp(28px, 4.5vh, 48px) clamp(20px, 4vw, 48px) clamp(22px, 3.5vh, 36px);
  font-family: var(--io-serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.9vw, 2.25rem); line-height: 1.2; letter-spacing: -0.01em;
}
.statement b { font-weight: 500; }
.door { color: inherit; text-decoration: none; position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; overflow: hidden; outline: none; }
.mk { display: block; }
.wd { letter-spacing: .34em; text-transform: uppercase; font-weight: 600;
  color: color-mix(in srgb, var(--io-paper) 60%, transparent); }
.sb { font-family: var(--io-serif); font-weight: 400; }
.ds { color: color-mix(in srgb, var(--io-paper) 78%, transparent); }
.en { text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.ops .mk, .ops .sb, .ops .en { color: var(--io-gold-light); }
.legal .mk, .legal .sb, .legal .en { color: var(--hp-grey); }
.legal .wd { color: color-mix(in srgb, var(--hp-grey) 62%, transparent); }
.hint { display: none; }

.ops   { background: linear-gradient(160deg, var(--io-ink-3), var(--io-ink) 55%, var(--io-ink-2)); }
.legal { background: linear-gradient(200deg, var(--hp-navy-3), var(--hp-navy) 55%, var(--hp-navy-2)); }

.tl { text-align: center; padding: 16px 16px;
  font-family: var(--io-serif); font-size: .9375rem; letter-spacing: .1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--io-paper) 55%, transparent);
  border-top: 1px solid var(--io-ink-3); background: var(--io-ink-2); }

/* desktop: theatrical split */
.split { display: flex; min-height: clamp(380px, 58vh, 620px); }
.split .door { flex: 1 1 50%; padding: 48px 72px; cursor: pointer;
  transition: flex-basis .55s cubic-bezier(.22,.7,.24,1), filter .45s ease, transform .55s ease; }
.split .ops   { clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%); margin-right: -45px; z-index: 2; }
.split .legal { clip-path: polygon(90px 0, 100% 0, 100% 100%, 0 100%); margin-left: -45px; }
.split .door::after { content: ""; position: absolute; inset: 0; background: var(--io-ink-2); opacity: 0;
  transition: opacity .45s ease; pointer-events: none; }
.split .mk { width: 72px; height: 70px; margin-bottom: 24px; transition: transform .5s ease; }
.split .wd { font-size: .8125rem; }
.split .sb { font-size: clamp(2rem, 3.2vw, 2.75rem); margin-top: 10px; }
.split .ds { margin-top: 18px; max-width: 24rem; font-size: 1.0625rem; line-height: 1.6; }
.split .en { margin-top: 26px; font-size: .8125rem; letter-spacing: .16em; }
.split .ds, .split .en { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }

.split:hover .door, .split:focus-within .door { flex-basis: 22%; }
.split .door:hover, .split .door:focus-visible { flex-basis: 78%; }
.split:hover .door:not(:hover)::after, .split:focus-within .door:not(:focus-visible)::after { opacity: .6; }
.split:hover .door:not(:hover), .split:focus-within .door:not(:focus-visible) { filter: saturate(.35) blur(.6px); }
.split .door:hover .mk, .split .door:focus-visible .mk { transform: translateY(-3px); }
.split .door:hover .ds, .split .door:hover .en,
.split .door:focus-visible .ds, .split .door:focus-visible .en { opacity: 1; transform: none; }

/* narrow / touch: stacked doors, tap to open */
@media (max-width: 760px) {
  .split { flex-direction: column; min-height: 0; }
  .split .door { flex: 1 1 auto; min-height: 40dvh; padding: 44px 28px 52px; clip-path: none; margin: 0; filter: none !important; transform: none !important; }
  .split .ops { z-index: auto; padding-bottom: 94px; }
  .tap .split .ops .hint { bottom: 56px; }
  .split .legal { clip-path: polygon(0 42px, 100% 0, 100% 100%, 0 100%); margin-top: -42px; padding-top: 84px; }
  .split .door::after { display: none; }
  .split:hover .door, .split:focus-within .door, .split .door:hover, .split .door:focus-visible { flex-basis: auto; }
  .split .mk { width: 52px; height: 50px; margin-bottom: 16px; }
  .split .sb { font-size: 1.875rem; }
  .split .ds { font-size: 1rem; max-width: 20rem; }
}
.tap .split .ds, .tap .split .en { max-height: 0; opacity: 0; overflow: hidden; transform: none;
  transition: max-height .45s ease, opacity .35s ease; }
.tap .split .door.open .ds { max-height: 10rem; opacity: 1; }
.tap .split .door.open .en { max-height: 3rem; opacity: 1; }
.tap .hint { display: block; position: absolute; bottom: 14px; left: 0; right: 0;
  font-size: .75rem; letter-spacing: .13em; text-transform: uppercase;
  color: color-mix(in srgb, var(--io-paper) 45%, transparent); }
.tap .door.open .hint { color: color-mix(in srgb, var(--io-paper) 70%, transparent); }

/* ---------- content sections ---------- */
section { padding: clamp(48px, 7vh, 88px) 0; border-top: 1px solid var(--line); }
section.alt { background: var(--paper-2); }
.kicker { margin: 0 0 10px; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--io-cobalt); font-weight: 600; }
h2.t { margin: 0; font-family: var(--io-serif); font-weight: 400; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.01em; max-width: 42rem; }
.lead { margin: 1.1rem 0 0; max-width: 42rem; font-size: 1.125rem; color: var(--io-ink); }
.lead.q { font-family: var(--io-serif); font-size: 1.375rem; line-height: 1.4; }

.grid { display: grid; gap: 28px 40px; margin-top: clamp(28px, 4vh, 44px); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.item h3 { margin: 0 0 6px; font-family: var(--io-serif); font-weight: 500; font-size: 1.25rem; line-height: 1.25; }
.item p { margin: 0; color: var(--muted); font-size: 1rem; }
.item .who { display: block; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--io-cobalt); margin-bottom: 8px; font-weight: 600; }

/* tiers */
.tier { border: 1px solid var(--line); background: var(--io-paper); padding: 26px 26px 22px; display: flex; flex-direction: column; }
.tier .n { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--io-cobalt); font-weight: 600; }
.tier h3 { margin: 8px 0 6px; font-family: var(--io-serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.tier .for { margin: 0 0 18px; color: var(--muted); font-size: 1rem; }
.tier ul { margin: 0; padding: 0 0 0 1.05em; color: var(--io-ink); font-size: 0.9875rem; }
.tier li { margin: 0 0 6px; }
.tier li::marker { color: var(--io-cobalt); }

/* steps */
.steps { counter-reset: s; margin: clamp(28px, 4vh, 44px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 2px solid var(--io-cobalt); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--io-serif); font-size: 1.5rem; color: var(--io-cobalt); margin-bottom: 8px; }
.steps h3 { margin: 0 0 6px; font-family: var(--io-serif); font-weight: 500; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }

/* firms */
.firm { padding: 26px 0 0; border-top: 2px solid var(--io-ink); }
.firm .k { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--io-cobalt); font-weight: 600; }
.firm h3 { margin: 8px 0 8px; font-family: var(--io-serif); font-weight: 400; font-size: 1.625rem; line-height: 1.2; }
.firm p { margin: 0 0 16px; color: var(--io-ink); }
.firm .links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.firm .links a { text-decoration: none; border-bottom: 1px solid var(--io-cobalt); padding-bottom: 1px; line-height: 1.7; }
.firm .links a:hover, .firm .links a:focus-visible { border-bottom-color: var(--io-ink); outline: none; }
.btn {
  display: inline-block; background: var(--io-cobalt); color: var(--io-paper); text-decoration: none;
  padding: 12px 22px; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.btn:hover, .btn:focus-visible { background: color-mix(in srgb, var(--io-cobalt) 82%, var(--io-ink)); outline: none; }
.firm .links .btn { border-bottom: none; padding-bottom: 12px; line-height: 1.2; }

/* footer */
footer.site { background: var(--io-ink); color: color-mix(in srgb, var(--io-paper) 72%, transparent); }
footer.site .wrap { padding-top: 40px; padding-bottom: 40px; }
footer.site .fine { margin: 0; max-width: 52rem; font-size: 0.9375rem; line-height: 1.65; }
footer.site .fine strong { color: var(--io-paper); font-weight: 600; }
footer.site .fine + .fine { margin-top: 0.75em; }
footer.site .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--io-paper) 16%, transparent); font-size: 0.8125rem; letter-spacing: 0.06em; }
footer.site .row a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--io-cobalt); padding-bottom: 1px; margin-left: 18px; }
footer.site .row a:first-child { margin-left: 0; }

@media (max-width: 920px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .grid.c3, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  nav.main { display: none; }
  .grid.c4, .grid.c2 { grid-template-columns: 1fr; }
  .firm .links { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .split .door, .split .ds, .split .en, .split .mk, .split .door::after { transition: none; }
}
