/* NEAR Project — style.css
   색상·여백은 맨 위 :root 값만 바꾸면 전체에 반영됩니다. */
:root{
  --section-space:clamp(72px,10vw,120px);   /* 섹션 위아래 여백 */
  --hero-top:clamp(80px,12vw,140px);        /* 메인 소개 위 여백 */
  --hero-bottom:clamp(90px,14vw,160px);    /* 메인 소개 아래 여백 */
  --card-min-height:240px;                  /* 카드 최소 높이 */
  --bg:#f4f8ff;--bg-alt:#edf4ff;--text:#1d1d1f;--muted:#6e6e73;--link:#0066cc;--accent:#0071e3;--line:#e5e5ea;--nav-bg:rgba(244,248,255,.88);
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI","Helvetica Neue",Arial,"Noto Sans","Apple SD Gothic Neo","Malgun Gothic","PingFang SC","Hiragino Sans",sans-serif;
  color-scheme:light;box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);
}
html{scroll-behavior:smooth;scroll-padding-top:calc(48px + env(safe-area-inset-top,0px));-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
*,*::before,*::after{box-sizing:inherit}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:1.0625rem;line-height:1.5;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:var(--nav-bg);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);z-index:10}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:12px;top:-60px;background:var(--text);color:#fff;padding:8px 14px;border-radius:8px;z-index:20}
.skip:focus{top:calc(8px + env(safe-area-inset-top,0px));text-decoration:none}
.wrap{max-width:980px;margin:0 auto;padding:0 max(22px,env(safe-area-inset-left,0px)) 0 max(22px,env(safe-area-inset-right,0px))}

/* ===== HEADER / NAV ===== */
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:11;height:48px;background:var(--nav-bg);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--line)}
header .wrap{display:flex;align-items:center;justify-content:space-between;height:100%}
.brand{color:var(--text);font-weight:600;font-size:1rem;letter-spacing:-.01em}
.brand:hover{text-decoration:none}
nav ul{display:flex;gap:clamp(18px,4vw,34px);list-style:none;margin:0;padding:0}
nav a{color:var(--text);font-size:.8125rem;opacity:.8}
nav a:hover{opacity:1;text-decoration:none}

/* ===== SECTIONS (shared) ===== */
section{padding:var(--section-space) 0;text-align:center}
.alt{background:var(--bg-alt)}
.eyebrow{margin:0 0 14px;font-size:clamp(1rem,2vw,1.1875rem);font-weight:600;color:var(--muted)}
h1,h2,h3{margin:0;letter-spacing:-.035em;line-height:1.07}
h1{font-size:clamp(2.75rem,9vw,6rem);font-weight:700;max-width:11em;margin:0 auto}
h2{font-size:clamp(2.25rem,6vw,3.5rem);font-weight:700}
h3{font-size:1.4375rem;font-weight:600;letter-spacing:-.025em;line-height:1.2}
.grad{color:var(--text)}
.lead{margin:28px auto 0;font-size:clamp(1.25rem,3vw,1.75rem);line-height:1.3;color:var(--muted);max-width:26em;letter-spacing:-.015em}
.btn{display:inline-block;margin-top:44px;background:var(--accent);color:#fff;font-size:1.0625rem;padding:12px 26px;border-radius:999px}
.btn:hover{background:#0077ed;text-decoration:none}
.btn:focus-visible{outline-offset:4px}

/* ===== HERO ===== */
#top{display:flex;align-items:center;min-height:calc(100vh - 48px);min-height:calc(100svh - 48px);padding-top:var(--hero-top);padding-bottom:var(--hero-bottom);background:radial-gradient(70% 60% at 50% 0%,rgba(0,113,227,.09),rgba(0,113,227,0) 70%),var(--bg)}
#top .wrap{width:100%}
/* ===== FOCUS / WRITING / ABOUT ===== */
.intro{margin:24px auto 0;font-size:clamp(1.0625rem,2.2vw,1.3125rem);line-height:1.4;color:var(--muted);max-width:32em}
.grid{display:grid;gap:24px;margin-top:clamp(36px,5vw,56px);grid-template-columns:repeat(3,1fr);text-align:left}
.grid.two{grid-template-columns:repeat(2,1fr)}
.card{background:var(--bg);border-radius:24px;padding:clamp(32px,5vw,52px);display:flex;flex-direction:column;align-items:flex-start;min-height:var(--card-min-height)}
.alt .card{box-shadow:0 1px 2px rgba(0,0,0,.04)}
.card p{margin:12px 0 0;color:var(--muted)}
.plain .card{background:var(--bg-alt)}
.plain .card p{margin-bottom:28px}
.badge{margin-top:auto;font-size:.8125rem;font-weight:600;color:var(--muted);background:var(--bg);border-radius:999px;padding:4px 13px}
.name{font-size:clamp(1.75rem,4vw,2.5rem);font-weight:700;letter-spacing:-.03em;margin:0}
.role{margin:8px 0 0;color:var(--muted);font-size:1.125rem}
.about .body{margin:26px auto 0;font-size:clamp(1.1875rem,2.6vw,1.5rem);line-height:1.4;max-width:28em;letter-spacing:-.01em}
.bio{max-width:36em;margin:48px auto 0;text-align:left}
.bio p{margin:0 0 20px;color:#424245;font-size:clamp(1.0625rem,2vw,1.1875rem);line-height:1.55}
/* ===== FOOTER ===== */
footer{background:var(--bg-alt);padding:40px 0 calc(40px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);font-size:.75rem;color:var(--muted)}
footer .wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 24px}

/* ===== MOBILE ===== */
@media (max-width:734px){
  .grid,.grid.two{grid-template-columns:1fr}
  .card{min-height:0}
  .brand{font-size:.9375rem}
}


/* Soft blue atmosphere across the page */
body{background:linear-gradient(145deg,#f5f9ff 0%,#edf4ff 52%,#f4f8ff 100%)}
section.plain{background:transparent}
.card{background:rgba(255,255,255,.7)}
.plain .card{background:rgba(230,239,255,.65)}

/* Hero layout matched to the supplied reference */
#top{background:linear-gradient(180deg,#eaf1fd 0%,#f7faff 43%,#fff 80%);padding-top:clamp(65px,8vw,100px);padding-bottom:38px;min-height:calc(100svh - 48px)}
#top .wrap{max-width:1240px}
#top .eyebrow{font-size:clamp(17px,2.35vw,29px);margin-bottom:36px;font-weight:600}
#hero-title{font-size:clamp(44px,10.8vw,136px);line-height:1.12;letter-spacing:-.055em;max-width:none;font-weight:700}
.grad{background:linear-gradient(90deg,#2d6ddd 0%,#6190f4 58%,#88b2fb 100%);background-clip:text;-webkit-background-clip:text;color:#3774df;-webkit-text-fill-color:transparent}
#top .lead{max-width:none;font-size:clamp(18px,3.3vw,41px);line-height:1.4;margin-top:38px;letter-spacing:-.025em}
#top .btn{background:linear-gradient(100deg,#2458c6,#2f70df);margin-top:62px;font-size:clamp(17px,2vw,24px);padding:16px 38px}
.hero-social{margin-top:65px;color:#77777c;display:flex;justify-content:center}
@media(max-width:640px){#top{padding-top:65px;padding-bottom:32px}#top .eyebrow{margin-bottom:28px}#hero-title{font-size:clamp(38px,10.5vw,67px)}#top .lead{margin-top:27px}#top .btn{margin-top:38px;padding:13px 28px}.hero-social{margin-top:45px}}
/* Larger Instagram mark, closer to the primary link */
.hero-social{margin-top:38px}
.hero-social svg{width:30px;height:30px}
@media(max-width:640px){.hero-social{margin-top:28px}.hero-social svg{width:28px;height:28px}}
/* More readable top navigation */
header{height:64px}
html{scroll-padding-top:calc(64px + env(safe-area-inset-top,0px))}
header .brand .near-logo{width:60px;height:32px}
header .brand .project-label{font-size:18px}
nav a{font-size:.9375rem}
#top{min-height:calc(100svh - 64px)}
@media(max-width:640px){header{height:60px}header .brand .near-logo{width:52px;height:28px}header .brand .project-label{font-size:16px}nav ul{gap:18px}nav a{font-size:.875rem}html{scroll-padding-top:calc(60px + env(safe-area-inset-top,0px))}#top{min-height:calc(100svh - 60px)}}
/* Larger, bold header lettering across the brand and navigation */
header .brand .project-label{font-size:21px;font-weight:700;color:var(--text)}
header nav a{font-size:18px;font-weight:700;opacity:1}
@media(max-width:640px){header .brand .project-label{font-size:18px}header nav a{font-size:16px}header nav ul{gap:15px}}
@media(max-width:360px){header .wrap{padding-left:14px;padding-right:14px}header nav ul{gap:11px}header nav a{font-size:15px}}
/* Slightly lighter header lettering */
header .brand .project-label,header nav a{font-weight:600}
/* Distinct, restrained color atmospheres for each section */
#focus{background:linear-gradient(155deg,#e8f0f6 0%,#f1f6fa 100%)}
#focus .card{background:rgba(255,255,255,.82)}
#writing{background:linear-gradient(180deg,#fff 0%,#fafbfd 100%)}
#writing .card{background:#edf3fc}
#about{background:linear-gradient(145deg,#f1eff8 0%,#eceff8 100%)}
footer{background:#e9edf4}
/* Section gradients that soften toward white, matching the hero */
#focus{background:linear-gradient(180deg,#e4edf6 0%,#f2f6fa 45%,#fff 92%)}
#writing{background:linear-gradient(180deg,#e9f1ff 0%,#f5f8ff 45%,#fff 92%)}
#about{background:linear-gradient(180deg,#eae7f7 0%,#f5f3fb 45%,#fff 92%)}
/* Fade both ends so section boundaries blend softly */
#focus{background:linear-gradient(180deg,#fff 0%,#f7f9fc 12%,#eaf1f7 34%,#f1f5f9 61%,#fff 100%)}
#writing{background:linear-gradient(180deg,#fff 0%,#f8faff 12%,#eef4ff 34%,#f5f8ff 61%,#fff 100%)}
#about{background:linear-gradient(180deg,#fff 0%,#f9f8fc 12%,#f0edf8 34%,#f6f4fb 61%,#fff 100%)}
footer{border-top:0;background:linear-gradient(180deg,#fff,#f3f5f9)}
/* Barely perceptible section color on a white foundation */
body{background:#fff}
#top{background:linear-gradient(180deg,#f5f8fd 0%,#fbfcff 40%,#fff 85%)}
#focus{background:linear-gradient(180deg,#fff 0%,#fafbfd 22%,#f6f8fb 48%,#fcfdfe 76%,#fff 100%)}
#writing{background:linear-gradient(180deg,#fff 0%,#fafcff 22%,#f6f9fe 48%,#fcfdff 76%,#fff 100%)}
#about{background:linear-gradient(180deg,#fff 0%,#fcfbfe 22%,#f8f7fb 48%,#fdfcfe 76%,#fff 100%)}
#focus .card{background:rgba(255,255,255,.8);box-shadow:none}
#writing .card{background:#f5f6f8}
footer{background:linear-gradient(180deg,#fff,#fafafb)}
/* A subtle increase in section separation */
#focus{background:linear-gradient(180deg,#fff 0%,#f7f9fc 18%,#f0f4f9 48%,#f8fafd 80%,#fff 100%)}
#writing{background:linear-gradient(180deg,#fff 0%,#f7faff 18%,#eff4fc 48%,#f9fbfe 80%,#fff 100%)}
#about{background:linear-gradient(180deg,#fff 0%,#faf8fd 18%,#f2eff8 48%,#faf9fd 80%,#fff 100%)}
/* Visible but quiet section boundaries */
#focus,#writing,#about{border-top:1px solid #e5e9f0}
#focus{background:linear-gradient(180deg,#f0f4f9 0%,#f7f9fc 45%,#fff 100%)}
#writing{background:linear-gradient(180deg,#f3f6fc 0%,#fafbfe 45%,#fff 100%)}
#about{background:linear-gradient(180deg,#f2eff8 0%,#faf9fd 45%,#fff 100%)}
/* Slightly soften the existing boundaries */
#focus,#writing,#about{border-top-color:#edf0f5}
#focus{background:linear-gradient(180deg,#f4f7fb 0%,#f9fbfd 45%,#fff 100%)}
#writing{background:linear-gradient(180deg,#f6f8fd 0%,#fbfcfe 45%,#fff 100%)}
#about{background:linear-gradient(180deg,#f6f3fa 0%,#fcfbfe 45%,#fff 100%)}
/* Lighter section edges */
#focus,#writing,#about{border-top-color:#f3f5f8}
#focus{background:linear-gradient(180deg,#f8fafd 0%,#fcfdfe 45%,#fff 100%)}
#writing{background:linear-gradient(180deg,#f9fbfe 0%,#fdfdff 45%,#fff 100%)}
#about{background:linear-gradient(180deg,#faf8fc 0%,#fdfcfe 45%,#fff 100%)}
/* Compact language picker; keeps the header usable on narrow screens */
header .wrap{gap:24px}header nav{margin-left:auto}.language-picker{display:flex;align-items:center;flex-shrink:0}.language-picker select{font:500 13px var(--font);color:var(--text);background:transparent;border:1px solid #dce1e9;border-radius:8px;padding:7px 6px;max-width:112px;cursor:pointer}.language-picker select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[lang="ko"] #hero-title,html[lang="zh-Hans"] #hero-title,html[lang="ja"] #hero-title{font-size:clamp(39px,7.5vw,96px);line-height:1.25;letter-spacing:-.04em}
@media(max-width:640px){header{height:auto;min-height:96px}header .wrap{display:grid;grid-template-columns:1fr auto;gap:10px 16px;padding-top:10px;padding-bottom:10px}header .brand{grid-column:1;grid-row:1}header .language-picker{grid-column:2;grid-row:1}header nav{grid-column:1 / -1;grid-row:2;margin:0}header nav ul{justify-content:center;gap:28px}header nav a{font-size:15px}.language-picker select{padding:5px 6px;font-size:12px}html{scroll-padding-top:110px}#top{min-height:calc(100svh - 96px)}}
/* Rounded, outlined cards for the three focus topics */
#focus .card{border:1px solid #dce4ef;border-radius:24px;background:rgba(255,255,255,.88);box-shadow:0 2px 8px rgba(30,60,100,.025)}
/* Editorial lower sections: questions, a real opening note, and a concise bio */
#focus,#writing,#about{padding:88px 0;text-align:left}
.focus-layout{display:grid;grid-template-columns:.8fr 1.35fr;gap:64px}
#focus h2,#writing h2{font-size:clamp(28px,3.5vw,42px);line-height:1.2;letter-spacing:-.035em}
.section-intro{font-size:17px;color:var(--muted);line-height:1.7;margin-top:20px;max-width:270px}
.question-row{display:grid;grid-template-columns:30px 1fr;gap:17px;padding:26px 0;border-top:1px solid #dfe5ed}
.question-row:last-child{border-bottom:1px solid #dfe5ed}.question-number{font-size:12px;color:#6d87a5;padding-top:4px}.question-row h3{font-size:22px;line-height:1.5;letter-spacing:-.025em}.question-row p{font-size:15px;line-height:1.8;color:var(--muted);margin:12px 0 0}
.featured-note{display:grid;grid-template-columns:180px 1fr;gap:44px;margin-top:35px;padding:34px 0;border-block:1px solid #e4e8ef}.note-index{background:linear-gradient(145deg,#e6effc,#f3f6fc);border-radius:16px;padding:25px;color:#396bb7;font-size:64px;font-weight:300;letter-spacing:-4px;display:flex;flex-direction:column;justify-content:space-between;min-height:210px}.note-index span{font-size:11px;line-height:1.6;letter-spacing:2px}.featured-note h3{font-size:clamp(24px,3vw,32px);line-height:1.4;margin:12px 0}.featured-note h3 a{color:var(--text)}.featured-note p:not(.eyebrow){font-size:16px;color:var(--muted);line-height:1.8;max-width:560px}.text-link{display:inline-block;margin-top:12px;font-size:15px}
.about-layout{display:grid;grid-template-columns:.8fr 1.35fr;gap:64px}.about .role{font-size:14px}.about-copy>p{font-size:18px;line-height:1.9;margin:0;color:#424245}.background{border-top:1px solid #e1e3ec;margin-top:28px;padding-top:18px}.background summary{cursor:pointer;font-size:14px;color:#5b6574}.background p{font-size:15px;line-height:1.9;color:var(--muted);margin-top:20px}
.note-page{max-width:760px;margin:auto;padding:60px 24px 80px}.note-page>a{font-size:14px}.note-page article>.eyebrow{margin-top:55px}.note-page h1{font-size:clamp(32px,5vw,52px);max-width:none;line-height:1.25;margin:20px 0;text-align:left;letter-spacing:-.04em}.note-deck{font-size:20px;line-height:1.7;color:var(--muted);padding-bottom:28px;border-bottom:1px solid var(--line)}.note-page section{padding:22px 0;text-align:left}.note-page h2{font-size:25px;line-height:1.4}.note-page section p{font-size:17px;line-height:1.95;color:#424245}
@media(max-width:734px){#focus,#writing,#about{padding:55px 0}.focus-layout,.about-layout{grid-template-columns:1fr;gap:28px}.section-intro{max-width:none}.question-row h3{font-size:20px}.featured-note{grid-template-columns:1fr;gap:24px}.note-index{min-height:100px;flex-direction:row;align-items:center;font-size:48px;padding:15px 24px}.about-copy>p{font-size:17px}.note-page{padding-top:40px}}
/* Shared branding and completed editorial components */
.brand{display:inline-flex;align-items:center;gap:2px;text-decoration:none;flex-shrink:0}.brand .near-logo{display:block;width:60px;height:32px;object-fit:contain}.brand .project-label{font-size:21px;font-weight:600;color:var(--text);letter-spacing:0;margin-left:-7px}
#top{padding-bottom:64px}
.working-method{max-width:936px;margin:68px auto 0;padding:36px 0 0;border-top:1px solid #e8edf4}.working-method>h3{font-size:26px;line-height:1.4}.method-intro{font-size:16px;color:var(--muted);line-height:1.8;max-width:680px}.method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:28px}.method-number{font-size:11px;color:#6485b5}.method-grid h4{font-size:17px;font-weight:600;margin:12px 0 10px}.method-grid p{font-size:14px;line-height:1.85;color:var(--muted);margin:0}.upcoming-note{display:grid;grid-template-columns:1fr 180px;gap:32px;margin-top:34px;padding:28px;border-radius:18px;background:#f6f8fc;border:1px solid #e9edf5}.upcoming-label{font-size:12px;color:#657992}.upcoming-note h3{font-size:23px;line-height:1.5;margin:12px 0}.upcoming-note p{font-size:15px;line-height:1.8;color:var(--muted);margin:0}.upcoming-status{font-size:12px;color:#727983;line-height:1.7;align-self:center}
.note-page .eyebrow{font-size:13px}.note-page a{overflow-wrap:anywhere}
@media(max-width:1000px){.working-method{margin-left:22px;margin-right:22px}}
@media(max-width:734px){.method-grid{grid-template-columns:1fr;gap:25px}.working-method{margin-top:38px;padding-top:28px}.upcoming-note{grid-template-columns:1fr;gap:18px;padding:23px}.upcoming-note h3{font-size:21px}}
@media(max-width:640px){.brand .near-logo{width:52px;height:28px}.brand .project-label{display:inline;font-size:18px}#top{padding-bottom:50px}}
/* Long-form research typography */
.research-article>h2{font-size:clamp(24px,3.4vw,30px);line-height:1.4;margin:42px 0 18px;letter-spacing:-.025em}
.research-article>p{font-size:17px;line-height:1.95;color:#424245;margin:20px 0;overflow-wrap:break-word}
.research-article>.note-deck{font-size:21px;line-height:1.65;color:var(--muted)}
.research-article>.article-date{font-size:12px;color:var(--muted)}
.research-limit{background:#f3f6fb;border-left:3px solid #aec4e8;border-radius:0 10px 10px 0;padding:18px 22px;font-size:14px;line-height:1.8;color:#576779;margin:26px 0 32px}
.source-links{font-size:13px}.research-article p a{text-decoration:underline;text-underline-offset:3px}.research-feature .note-index{background:linear-gradient(145deg,#e9eef7,#f7f9fc)}
@media(max-width:640px){.research-article>p{font-size:16px}.research-article>.note-deck{font-size:19px}.research-limit{padding:16px}}
.contact-block{margin-top:30px;padding-top:24px;border-top:1px solid #e4e8ef}.contact-block h3{font-size:19px;line-height:1.4}.contact-block p{font-size:14px;line-height:1.7;color:var(--muted);margin:10px 0}.contact-block>a{font-size:16px;overflow-wrap:anywhere}footer a{overflow-wrap:anywhere}
/* Method cards: soft shade along the left and top edges only */
.method-grid>div{padding:25px 26px 28px;border-radius:18px;background:linear-gradient(180deg,rgba(74,101,145,.045),transparent 24px),linear-gradient(90deg,rgba(74,101,145,.035),transparent 24px),#fff;box-shadow:-5px -5px 14px rgba(46,71,109,.055)}
@media(max-width:734px){.method-grid>div{padding:23px 24px}}
