/* NFC card: the site's flow mark and light/ink/blue chapters in a compact, independent layout. */
:root { --paper: #F3F5F8; --surface: #FFFFFF; --ink: #172234; --muted: #536176; --night: #0B1A45; --brand: #2253D6; --line: #DFE5EE; --blue: #EDF2FF; --teal: #E9F5F3; --amber: #FFF3DF; --focus: #2253D6; --ease: cubic-bezier(.2,.7,.2,1); color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.55 "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, p, ul { margin: 0; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
.skip { position: fixed; z-index: 10; inset: 8px auto auto 8px; padding: 12px 18px; color: var(--surface); background: var(--night); transform: translateY(-160%); }
.skip:focus { transform: none; }
.card-shell { position: relative; isolation: isolate; width: min(100%, 480px); min-height: 100svh; margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); background: radial-gradient(ellipse 120% 45% at 100% 0%, #DFE7F5, transparent 75%), var(--surface); }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-height: 44px; min-width: 0; color: var(--night); }
.wordmark__type { font: 900 25px/.95 "Arial Black", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.03em; }
.wordmark__name { font-size: 10px; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; color: var(--muted); white-space: nowrap; }
.share-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 8px 10px; border: 1px solid #C5D1E4; border-radius: 100px; color: var(--night); background: #FFFFFFA6; font-size: 12px; white-space: nowrap; }
.share-button svg { width: 17px; height: 17px; }
.identity { position: relative; }
.identity__name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
h1 { color: var(--night); font-size: 40px; line-height: 1.08; letter-spacing: -.055em; font-weight: 800; }
.identity__name > span { color: var(--muted); font-size: 15px; }
.identity__bio { margin-top: 10px; }
.identity__experience { color: var(--muted); font-size: 12px; line-height: 1.5; }
.identity__mission { margin-top: 2px; color: var(--brand); font-size: 17px; line-height: 1.4; font-weight: 750; letter-spacing: -.03em; }
.contact-actions { display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.contact-actions a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 4px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.contact-actions svg { width: 18px; height: 18px; }
.save-contact { background: var(--night); color: var(--surface); border: 1px solid var(--night); }
.quick-contact { background: var(--surface); border: 1px solid var(--line); }
.phone-number { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .025em; }
.service-section { margin-top: 14px; }
h2 { margin-bottom: 8px; font-size: 13px; line-height: 1.5; font-weight: 750; }
.service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; list-style: none; }
.service-links > li { min-width: 0; }
.service-link { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 64px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; }
.service-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; color: var(--night); background: var(--blue); }
.service-link--teal .service-icon { background: var(--teal); }
.service-link--amber .service-icon { background: var(--amber); }
.service-copy { display: grid; gap: 2px; min-width: 0; flex: 1; }
.service-copy strong { font-size: 16px; line-height: 1.3; letter-spacing: -.035em; }
.service-copy > span { font-size: 12px; line-height: 1.5; color: var(--muted); letter-spacing: -.025em; }
.outbound { display: grid; place-items: center; color: var(--muted); }
.outbound svg { width: 18px; height: 18px; }
/* cardLinks keeps the main service first; the supporting services share the next row. */
.service-links > li:first-child { grid-column: 1 / -1; }
.service-links > li:first-child .service-link { position: relative; isolation: isolate; overflow: hidden; min-height: 104px; padding: 14px; gap: 14px; border-color: var(--night); color: var(--surface); background: radial-gradient(ellipse at 100% 110%, #284EB6, transparent 70%), var(--night); }
.service-links > li:first-child .service-link::before { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-radial-gradient(ellipse 80% 60% at 100% 130%, #FFFFFF12 0 1px, transparent 1.5px 15px); }
.service-links > li:first-child .service-icon { width: 48px; height: 48px; background: var(--surface); }
.service-links > li:first-child .service-icon svg { width: 26px; height: 26px; }
.service-links > li:first-child .service-copy { gap: 6px; }
.service-links > li:first-child .service-copy strong { font-size: 22px; }
.service-links > li:first-child .service-copy > span { color: #D0DCF7; font-size: 13px; }
.service-links > li:first-child .outbound { color: var(--surface); }
.service-links > li:not(:first-child) .service-link { display: block; position: relative; min-height: 84px; padding: 12px 10px; border-radius: 12px; }
.service-link--teal { background: linear-gradient(140deg, #E1F3EE, #F5FBF9); border-color: #BFDBD5; }
.service-link--amber { background: linear-gradient(140deg, #FFF0D6, #FFF9F0); border-color: #EAD6B4; }
.service-links > li:not(:first-child) .service-icon { display: none; }
.service-links > li:not(:first-child) .service-copy { gap: 6px; }
.service-links > li:not(:first-child) .service-copy strong { padding-right: 20px; font-size: 15px; }
.service-links > li:not(:first-child) .outbound { position: absolute; top: 13px; right: 10px; }
.service-links > li:not(:first-child) .outbound svg { width: 15px; height: 15px; }
.share-status { color: var(--muted); font-size: 13px; margin-top: 12px; }
.share-status:empty { display: none; }
.share-fallback { display: grid; gap: 8px; margin-top: 12px; font-size: 13px; }
.share-fallback a { padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--brand); word-break: break-all; }
.center-link { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 12px; min-height: 88px; margin-top: 6px; padding: 12px 16px; border: 1px solid var(--brand); border-radius: 14px; background: linear-gradient(115deg, #2253D6, #173A9E); color: var(--surface); box-shadow: 0 7px 18px #2253d62B; }
.center-link::before, .center-link::after { content: ""; position: absolute; z-index: -1; right: -25px; top: -58px; width: 172px; height: 172px; border: 1px solid #FFFFFF38; border-radius: 50%; transform: rotate(-25deg) scaleX(.48); }
.center-link::after { right: 11px; top: -52px; border-color: #FFFFFF1F; }
.center-link .service-copy { gap: 6px; }
.center-link .service-copy strong { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 20px; }
.center-badge { padding: 2px 7px; border: 1px solid #FFFFFF80; border-radius: 100px; font-size: 10px; line-height: 1.5; letter-spacing: 0; }
.center-link .service-copy > span, .center-link .outbound { color: var(--surface); }
.center-link .outbound { width: 32px; height: 32px; flex-shrink: 0; border: 1px solid #FFFFFF80; border-radius: 50%; background: #FFFFFF12; }
.center-link:focus-visible { outline-offset: 3px; }
@media (hover: hover) { .service-link:hover { border-color: var(--brand); box-shadow: 0 4px 16px #0B1A4514; } .quick-contact:hover, .share-button:hover { background: var(--paper); } .save-contact:hover { background: #173A9E; } .center-link:hover { box-shadow: 0 8px 22px #2253d642; } }
@media (prefers-reduced-motion: no-preference) { .service-link, .quick-contact, .share-button, .save-contact, .center-link { transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease); } }
@media (min-width: 600px) { body { padding: 24px 16px; } .card-shell { min-height: 0; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 60px #0b1a450b; padding: 20px 28px 12px; } }
@media (max-width: 359px) { .card-shell { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); } .card-header { gap: 8px; } .wordmark { font-size: 12px; gap: 7px; } .wordmark img { width: 28px; height: 28px; } }
@media (max-width: 599px) and (max-height: 600px) { .card-shell { padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: max(8px, env(safe-area-inset-bottom)); } .card-header { margin-bottom: 6px; } .identity__bio { margin-top: 6px; } .contact-actions { margin-top: 8px; } .service-section { margin-top: 12px; } h2 { margin-bottom: 6px; } }
@media (min-width: 600px) and (max-height: 500px) { body { padding: 4px 16px; } .card-shell { width: min(100%, 760px); padding: max(4px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); } .card-header { margin-bottom: 4px; } main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "identity center" "identity services" "contacts services" "status status" "fallback fallback"; column-gap: 24px; } .identity { grid-area: identity; } .center-link { grid-area: center; margin-top: 0; } .contact-actions { grid-area: contacts; margin-top: 0; align-self: end; } .service-section { grid-area: services; margin-top: 8px; } .service-link { min-height: 60px; padding: 8px 10px; gap: 10px; } .service-icon { width: 36px; height: 36px; } .share-status { grid-area: status; } .share-fallback { grid-area: fallback; } }
@media print { body { background: white; padding: 0; } .card-shell { border: 0; box-shadow: none; } .share-button, .share-status, .share-fallback, .skip { display: none; } }
