/* Speak & Grow English Academy — website styles.
   Matches the Instagram posts: cream paper, deep green pill headings, soft yellow and green circles,
   pale yellow note boxes with olive outlines, and the logo's colours for the programme bars. */
:root {
  --paper: #FEFAEF;
  --card: #FFFDF5;
  --green: #206843;        /* pill headings, buttons, prices */
  --green-dark: #1E5418;   /* "Grow" in the logo */
  --olive: #688531;        /* "&" in the logo */
  --olive-line: #D5DFA6;   /* card outlines */
  --row: #F2F7E1;          /* table stripes */
  --note: #FFF5D2;         /* step boxes */
  --note-line: #F1DE9C;
  --sun: #FAE3A0;          /* yellow circle */
  --leaf: #D7E7C2;         /* green circle */
  --ink: #1F2A22;
  --ink-2: #3E4A41;
  --muted: #6E776F;
  --line: #E9E2CC;
  --kakao: #FEE500;
  --radius: 22px;
  --wrap: 1120px;
  --sans: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, -apple-system, sans-serif;
  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ko"] body { word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; position: relative; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

/* Language: elements marked data-l="en" or "ko" show only in that language */
html[lang="ko"] [data-l="en"], html[lang="en"] [data-l="ko"] { display: none !important; }

/* ---------- Header ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-dark); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font-family: var(--serif); font-size: 1.2rem; }
.brand b i { font-style: normal; color: var(--olive); }
.brand small { font-size: .58rem; letter-spacing: .32em; color: var(--ink-2); margin-top: 4px; }
nav.links { display: flex; gap: 22px; align-items: center; }
nav.links a { text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .95rem; }
nav.links a:hover { color: var(--green); }
.lang { border: 1.5px solid var(--olive-line); background: var(--card); color: var(--green); border-radius: 999px; padding: 6px 16px; font: inherit; font-weight: 800; font-size: .88rem; cursor: pointer; min-height: 40px; }
@media (max-width: 860px) { nav.links a.opt { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 1rem; border: 2px solid transparent; flex-wrap: wrap; text-align: center; max-width: 100%; }
.btn.primary { background: var(--green); color: #fff; cursor: pointer; font-family: inherit; }
.btn.kakao { background: var(--kakao); color: #191600; }
.btn.ghost { border-color: var(--green); color: var(--green); background: var(--card); }
.btn:hover { filter: brightness(.97); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 28px; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; z-index: -1; }
.hero::before { width: 360px; height: 360px; left: -170px; top: -120px; background: var(--sun); }
.hero::after { width: 300px; height: 300px; right: -140px; bottom: -60px; background: var(--leaf); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.lockup { width: min(440px, 100%); height: auto; margin: 0 0 22px -8px; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); color: var(--green-dark); }
.hero .lead { font-size: 1.08rem; color: var(--ink-2); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-photo { margin: 0; position: relative; padding-bottom: 52px; }
.hero-photo .photo { width: 100%; height: auto; aspect-ratio: 960 / 664; object-fit: cover; border-radius: 28px; box-shadow: 0 18px 40px -22px rgba(32, 60, 30, .45); }
.skills { list-style: none; margin: 0; padding: 0; position: absolute; left: 4%; right: 4%; bottom: 0; display: flex; justify-content: space-between; gap: 6px; }
.skills li { flex: 0 1 19%; }
.skills img { width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(60, 50, 20, .14)); }
.points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .points { grid-template-columns: 1fr; } }
.points li { background: var(--card); border: 1.5px solid var(--olive-line); border-radius: 18px; padding: 14px 16px 14px 46px; font-weight: 700; font-size: .95rem; color: var(--ink-2); position: relative; line-height: 1.45; }
.points li::before, .ticks li::before { content: ''; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23206843' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Sections ---------- */
section { padding: 64px 0; position: relative; }
section.soft { background-color: #FBF4DF; }
@media (min-width: 1240px) {
  section.soft { background-image: radial-gradient(circle, #E2CC9B 1.7px, transparent 2.2px), radial-gradient(circle, #E2CC9B 1.7px, transparent 2.2px);
    background-size: 20px 38px; background-repeat: repeat-y; background-position: left 16px top 10px, right 16px top 10px; }
}
.pill-title { background: var(--green); color: #fff; text-align: center; border-radius: 999px; padding: 14px 24px; font-size: clamp(1.35rem, 3.2vw, 1.9rem); margin: 0 auto 26px; max-width: 920px; box-shadow: 0 8px 0 -4px rgba(32, 104, 67, .18); }
.kicker { text-align: center; font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 800; color: var(--green); margin: 0 auto 28px; }
.kicker.small { font-size: 1.1rem; color: var(--ink); }
.kicker-sub { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); margin-top: 4px; }
.ticks { list-style: none; padding: 22px 26px; margin: 0 auto 32px; max-width: 920px; background: var(--note); border: 1.5px solid var(--note-line); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
@media (max-width: 640px) { .ticks { grid-template-columns: 1fr; } }
.ticks li { position: relative; padding-left: 32px; font-weight: 700; font-size: 1.02rem; }
.ticks li::before { left: 0; top: 5px; }
.box { background: var(--card); border: 1.5px solid var(--olive-line); border-radius: var(--radius); padding: 22px 24px; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .grid.three { grid-template-columns: 1fr; } }
.feature h3 { color: var(--green); font-size: 1.12rem; }
.feature p { margin: 0; color: var(--ink-2); }
.app-note { margin-top: 16px; background: var(--note); border-color: var(--note-line); text-align: center; font-weight: 700; color: var(--ink-2); }
.app-note p { margin: 0; }

/* Programme cards (the same layout as the posts) */
.steps { background: var(--note); border: 1.5px solid var(--note-line); color: var(--green); font-weight: 800; text-align: center; border-radius: 999px; padding: 8px 14px; font-size: .95rem; margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.facts p { margin: 0; border-radius: 999px; padding: 8px 14px; text-align: center; line-height: 1.25; display: flex; flex-direction: column; justify-content: center; min-height: 64px; }
.facts .sched { background: #FEF8D8; border: 1.5px solid var(--olive-line); color: var(--green-dark); }
.facts .sched b { font-size: 1.05rem; }
.facts small { font-size: .75rem; opacity: .85; font-weight: 600; }
.facts .price { background: var(--green); color: #fff; }
.facts .price b { font-size: 1.35rem; }
.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .courses { grid-template-columns: 1fr; } }
.course, .club { background: var(--card); border: 1.5px solid var(--olive-line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.course::before, .club::before { content: ''; position: absolute; left: 0; top: 0; height: 6px; width: 100%; background: var(--bar); z-index: 1; }
.course .pic { width: 100%; aspect-ratio: 1000 / 306; object-fit: cover; }
.club .pic { width: 100%; aspect-ratio: 1000 / 416; object-fit: cover; }
.course-body, .club-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.course h3, .club h3 { font-size: 1.45rem; color: var(--green-dark); text-align: center; }
.course h3 small, .club h3 small { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.teachers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
@media (max-width: 420px) { .teachers { grid-template-columns: 1fr; } }
.teachers .t { background: #FFF8DC; border: 1.5px solid var(--note-line); border-radius: 18px; overflow: hidden; }
.t-head { background: var(--green); color: #fff; font-weight: 800; text-align: center; padding: 8px 10px; margin: 0; font-size: .95rem; }
.checks { list-style: none; margin: 0; padding: 12px 14px 14px; display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 26px; font-weight: 600; font-size: .95rem; line-height: 1.45; }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23206843' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tagline-line { text-align: center; font-weight: 800; color: var(--green); font-size: 1.15rem; margin: 26px 0 0; }
.clubs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .clubs { grid-template-columns: 1fr; } }
.lead-line { font-weight: 800; text-align: center; margin-bottom: 8px; }
.desc { color: var(--ink-2); text-align: center; font-size: .97rem; }
.combo { margin: 26px auto 0; max-width: 920px; background: #FFF3C4; border: 1.5px solid #EBD38A; border-radius: 26px; padding: 18px 20px 20px; }
.combo-head { text-align: center; font-weight: 700; color: var(--green); margin: 0 0 12px; }
.combo-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.combo-row p { margin: 0; background: #EFF6E2; border-radius: 16px; padding: 12px; text-align: center; display: flex; flex-direction: column; color: var(--green-dark); font-weight: 600; }
.combo-row p.alt { background: #EAF3FB; }
.combo-row b { font-size: 1.15rem; }
.plus { color: #E3A21A; font-size: 1.8rem; font-weight: 800; }
.combo-note { text-align: center; color: var(--ink-2); font-size: .93rem; margin: 14px 0 0; }

/* Tuition table (same as the "수강료 & 수업 일정" post) */
.fee-table { max-width: 920px; margin: 0 auto; border: 1.5px solid var(--olive-line); border-radius: 26px; overflow: hidden; background: var(--card); }
.fee-row { display: grid; grid-template-columns: 1.15fr 1fr .9fr; align-items: center; position: relative; }
.fee-row > span { padding: 14px 16px; text-align: center; display: flex; flex-direction: column; line-height: 1.35; }
.fee-row > span + span { border-left: 1px solid var(--line); }
.fee-row small { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.fee-row:not(.head):nth-child(even) { background: var(--row); }
.fee-row:not(.head)::before { content: ''; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 9px; height: 52%; border-radius: 6px; background: var(--bar); }
.fee-row.head { background: var(--green); color: #fff; font-weight: 800; }
.fee-row.head > span { padding: 16px; border-color: rgba(255, 255, 255, .2); }
.fee-row .amt { color: var(--green); font-weight: 800; font-size: 1.25rem; }
@media (max-width: 560px) {
  .fee-row { grid-template-columns: 1.1fr 1fr .9fr; font-size: .9rem; }
  .fee-row > span { padding: 12px 8px; }
  .fee-row:not(.head) > span:first-child { padding-left: 22px; }
  .fee-row:not(.head)::before { left: 8px; width: 7px; }
  .fee-row .amt { font-size: 1.02rem; }
}
.pill-note { max-width: 760px; margin: 24px auto 6px; background: var(--green); color: #fff; text-align: center; border-radius: 999px; padding: 12px 20px; font-size: 1.35rem; font-weight: 800; }
.fine { text-align: center; color: var(--muted); font-size: .88rem; margin-bottom: 26px; }
.reg { text-align: center; color: var(--muted); font-size: .88rem; margin: 18px 0 0; }
.refund { max-width: 920px; margin: 0 auto; }
.refund summary { cursor: pointer; font-weight: 800; color: var(--green); }
.refund[open] summary { margin-bottom: 12px; }
.refund table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95rem; }
.refund th, .refund td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
.refund th { color: var(--muted); font-weight: 800; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 18px; }
.contact dt { font-weight: 800; color: var(--green); }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.links-box { display: flex; flex-direction: column; gap: 12px; justify-content: center; }

/* Footer (as on the posts) */
footer { padding: 46px 0 56px; color: var(--ink-2); font-size: .88rem; text-align: center; border-top: 1px solid var(--line); background: #FBF4DF; }
.foot-logo { width: 240px; height: auto; margin: 0 auto 16px; }
.foot-contact { font-weight: 800; color: var(--green-dark); font-size: 1rem; }
.foot-contact a { color: inherit; text-decoration: none; }
footer .biz { line-height: 1.9; color: var(--muted); }
footer a { color: var(--muted); }

/* ---------- Privacy and account pages ---------- */
.card { background: var(--card); border: 1.5px solid var(--olive-line); border-radius: var(--radius); padding: 22px; }
.meta { color: var(--muted); font-size: .92rem; font-weight: 600; }
.doc { max-width: 820px; }
.doc h1 { color: var(--green-dark); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc h2 { font-size: 1.25rem; margin-top: 2em; color: var(--green); }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 8px; }
.doc th { color: var(--muted); font-weight: 800; }
.todo { background: #FFF1CC; color: #6B4E00; border-radius: 6px; padding: 0 6px; font-weight: 700; }
.notice { background: var(--note); border: 1.5px solid var(--note-line); border-radius: 16px; padding: 16px 18px; margin-bottom: 1.5em; }
@media (max-width: 440px) {
  .facts p { padding: 8px 8px; }
  .facts .sched b { font-size: .86rem; white-space: nowrap; }
  .facts .price b { font-size: 1.15rem; }
}

/* "From English they know to English they speak": stories from the captions */
.eyebrow { display: inline-block; background: var(--note); border: 1.5px solid var(--note-line); color: var(--green); font-weight: 800; font-size: .9rem; padding: 6px 14px; border-radius: 999px; margin: 0 0 14px; }
.stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .stories { grid-template-columns: 1fr; } }
.story { background: var(--card); border: 1.5px solid var(--olive-line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; }
.story .pic { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.story-body { padding: 20px 24px 24px; }
.story h3 { color: var(--green-dark); font-size: 1.3rem; }
.story p:last-child { margin: 0; color: var(--ink-2); }
.story .steps { font-size: .88rem; }
.lib-stories { margin-bottom: 22px; }
.motto { margin: 26px auto 0; max-width: 920px; text-align: center; background: var(--card); border: 1.5px dashed var(--olive-line); border-radius: 26px; padding: 24px 26px; }
.motto-head { font-weight: 800; color: var(--green); font-size: 1.2rem; margin-bottom: 8px; }
.motto p { color: var(--ink-2); }
.motto-sign { font-family: var(--serif); font-style: italic; color: var(--green-dark); margin: 6px 0 0; }
.story .steps { border-radius: 16px; }
.open-note { margin: 18px 0 0; background: var(--card); border: 1.5px solid var(--olive-line); border-radius: 18px; padding: 12px 16px; font-size: .95rem; color: var(--ink-2); max-width: 34em; }
.open-note b { color: var(--green); margin-right: 6px; }

/* ---------- Home page: English headings with Korean underneath ---------- */
.home h3 .en, .home h3 .ko { display: block; }
.home h3 .en { line-height: 1.25; }
.home h3 .ko { font-size: .82rem; font-weight: 600; color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.pill-title .en, .pill-title .ko { display: block; }
.pill-title .en { font-family: var(--serif); font-weight: 700; letter-spacing: .01em; }
.pill-title .ko { font-size: .58em; font-weight: 600; opacity: .88; margin-top: 2px; }
nav.links a { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
nav.links a small { font-size: .68rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
nav.links a.nav-cta { background: var(--green); color: #fff; border-radius: 999px; padding: 7px 18px; }
nav.links a.nav-cta small { color: rgba(255, 255, 255, .85); }
nav.links a.nav-cta:hover { color: #fff; filter: brightness(1.08); }
.btn small { display: block; width: 100%; font-size: .78rem; font-weight: 600; opacity: .85; margin-top: -2px; }
.btn { padding-top: 8px; padding-bottom: 8px; line-height: 1.3; }
.en-line { font-family: var(--serif); font-style: italic; color: var(--olive); font-size: 1.12rem; margin: -4px 0 14px; }
.points li b, .ticks li b { display: block; color: var(--green-dark); font-size: 1.02rem; }
.points li { font-weight: 500; }
.ticks li { font-weight: 500; }
.steps .en, .steps .ko { display: block; }
.steps .ko { font-size: .8rem; font-weight: 600; color: var(--muted); }
.t-head small { display: block; font-size: .74rem; font-weight: 600; opacity: .85; }
.facts .en-mini { font-family: var(--serif); font-style: italic; }
.tagline-line .en, .motto-head .en, .app-note .en { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--olive); }
.tagline-line .en { font-size: 1.05rem; margin-bottom: 4px; }
.motto-head .en { font-size: 1.05rem; margin-bottom: 2px; }
.app-note .en { margin-bottom: 4px; }
.combo-head .en { display: block; font-family: var(--serif); font-weight: 700; color: var(--green-dark); font-size: 1.1rem; }
.combo-head { line-height: 1.5; }
.pill-note .en { display: block; font-family: var(--serif); font-size: .7em; font-weight: 700; opacity: .9; }
.fee-row.head small { display: block; font-size: .72rem; font-weight: 600; color: rgba(255, 255, 255, .8); margin-top: 2px; }
.contact dt small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.feature h3 .ko { color: var(--muted); }
.see-you { text-align: center; font-family: var(--serif); font-style: italic; color: var(--green-dark); font-size: 1.15rem; margin: 30px 0 0; }
.refund summary { font-family: inherit; }
@media (max-width: 860px) { nav.links a.nav-cta { padding: 6px 14px; } }
/* The slogan is always in English, in full */
.hero h1.slogan { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.25; letter-spacing: -.005em; }
/* Hero: logo centred on top, then text and photo side by side, both starting at the same height */
.hero-head { display: flex; justify-content: center; margin-bottom: 26px; }
.hero-head .lockup { width: min(520px, 92%); margin: 0; }
.hero-grid { align-items: center; }
@media (max-width: 900px) { .hero-head { margin-bottom: 14px; } }
/* Hero logo: tree over the yellow circle, the Speak & Grow wordmark larger beside it */
.hero-head { justify-content: flex-start; align-items: center; gap: 18px; margin-top: -4px; margin-bottom: 24px; }
.hero-head .tree-big { width: 196px; height: auto; flex: 0 0 auto; }
.hero-head .wordmark { width: min(440px, 100%); height: auto; min-width: 0; flex: 0 1 auto; }
@media (max-width: 600px) {
  .hero-head { gap: 10px; }
  .hero-head .tree-big { width: 92px; }
  .hero-head .wordmark { width: calc(100% - 100px); }
}
/* Hero logo row: the full logo on the left, the SG monogram on the right */
.hero-head { justify-content: space-between; align-items: center; gap: 24px; margin-top: 0; margin-bottom: 22px; }
.hero-head .lockup { width: min(470px, 70%); margin: 0 0 0 -8px; }
.hero-head .monogram { width: 150px; height: auto; flex: 0 0 auto; margin-right: 40px; opacity: .95; }
@media (max-width: 600px) { .hero-head .monogram { width: 78px; margin-right: 0; } .hero-head .lockup { width: 72%; } }

/* Top of the page: split screen (option B) */
.hB{position:relative;overflow:hidden;min-height:620px;display:flex;align-items:stretch;border-bottom:1px solid var(--line)}
.hB .photo-side{position:absolute;right:0;top:0;bottom:0;width:50%}
.hB .photo-side > img{width:100%;height:100%;object-fit:cover;object-position:45% center;border-bottom-left-radius:120px}
.hB .photo-side .skills{position:absolute;left:10%;right:8%;bottom:22px;top:auto;transform:none;flex-direction:row;width:auto}
.hB .photo-side .skills li{flex:0 1 17%}
.hB .wrap{width:100%;display:flex;align-items:center}
.hB .txt{width:46%;padding:48px 0 54px;position:relative}
.hB .txt::before{content:'';position:absolute;inset:auto auto 30px -40px;width:300px;height:315px;background:url(img/sg-monogram.webp) no-repeat center/contain;opacity:.07;z-index:-1}
.hB .lockup{width:min(380px,100%);margin:0 0 26px -6px}
.hB h1{font-family:var(--serif);color:var(--green-dark);font-size:clamp(1.9rem,3.6vw,2.7rem);line-height:1.22}
.hB::before{content:'';position:absolute;width:300px;height:300px;border-radius:50%;background:var(--sun);left:-160px;top:-130px;z-index:-1}
.hB-points{padding:26px 0 0}
@media(max-width:860px){.hB{display:block;min-height:0}.hB .photo-side{position:relative;width:100%;height:300px}.hB .photo-side > img{border-radius:0 0 0 70px}
.hB .photo-side .skills{left:6%;right:6%;bottom:14px}.hB .txt{width:100%;padding:34px 0 20px}}

@media(max-width:860px){.hB .ctas{justify-content:center}}
.hB { padding: 0; } @media (max-width: 860px) { .hB .txt { padding-bottom: 6px; } }
/* Hero logo: tree and wordmark as separate pieces, tree larger */
.hero-logo { display: flex; align-items: center; gap: 14px; margin: 0 0 26px -10px; }
.hero-logo .tree-big { width: 200px; height: auto; flex: 0 0 auto; }
.hero-logo .wordmark { width: 300px; height: auto; min-width: 0; }
@media (max-width: 1100px) { .hero-logo .tree-big { width: 160px; } .hero-logo .wordmark { width: 250px; } }
@media (max-width: 860px) { .hero-logo { margin-left: -6px; gap: 10px; } .hero-logo .tree-big { width: 120px; } .hero-logo .wordmark { width: calc(100% - 130px); max-width: 240px; } }
/* Logo: tree nudged up and left; the tagline's bottom lines up with the base of the tree */
.hero-logo { align-items: flex-end; }
.hero-logo .tree-big { transform: translate(-14px, -10px); }
.hero-logo .wordmark { transform: translate(-8px, 4px); }
@media (max-width: 1100px) { .hero-logo .tree-big { transform: translate(-10px, -8px); } .hero-logo .wordmark { transform: translate(-6px, 4px); } }
@media (max-width: 860px) { .hero-logo .tree-big { transform: translate(-6px, -6px); } .hero-logo .wordmark { transform: translate(-4px, 6px); } }
