/* Mindience — design mock
   Layout: a letter on warm paper. Left-aligned serif prose in a wide frame, one fine thread line that
   ends in a node dot (from the logo), an arch reserved for the portrait, and a single dusk band that
   closes every page. Illustrations are never boxed: their grounds are matched to the paper at build time. */

:root {
  /* colour — the four brand colours, plus tones derived from them and from the illustrations */
  --paper: #FBF5F3;        /* measured from the illustrations' own grounds */
  --paper-veil: rgba(251, 245, 243, .9);
  --ink: #443C5D;          /* brand · text, dusk ground */
  --plum: #5F5283;         /* brand · links, buttons, icon strokes */
  --lavender: #B3ADD5;     /* brand · surfaces and ornament only */
  --periwinkle: #ADBBDE;   /* brand · surfaces and ornament only */
  --mist: #EEE9F4;         /* lavender washed into paper */
  --haze: #E6EBF4;         /* periwinkle washed into paper */
  --hairline: #E2D9E6;
  --field: #897FAC;        /* form borders, 3.4:1 on paper */
  --thread: #E2AE7C;       /* the golden thread, ornament only */
  --white: #FFFFFF;
  --error: #96284B;

  /* type — Newsreader carries her voice, Montserrat (the wordmark's family) carries the interface */
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* frame */
  --wrap: 1240px;
  --gutter: clamp(20px, 4.4vw, 56px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); /* frame edge → viewport edge */
  --section: clamp(64px, 7.6vw, 112px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before { /* paints the band above the sticky header on phones with a status-bar inset */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--paper);
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
p { text-wrap: pretty; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
::selection { background: var(--lavender); color: var(--ink); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
main:focus, h1:focus, .form-done:focus { outline: none; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.pipe { color: var(--lavender); margin-inline: .2em; }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 50;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-family: var(--sans); font-size: .9375rem; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); color: var(--white); }

/* ---------- type ---------- */
.display {
  font-weight: 300;
  font-size: clamp(2.75rem, 1.5rem + 4.5vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h2 {
  font-weight: 300;
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h3 { font-weight: 400; }
.lead { font-size: clamp(1.25rem, 1.1rem + .55vw, 1.4375rem); line-height: 1.5; }
.eyebrow { font-family: var(--sans); font-weight: 500; font-size: .875rem; line-height: 1.5; letter-spacing: .06em; color: var(--plum); }

/* the thread: a fine line that ends in a node, as in the logo */
.thread {
  display: block; width: 72px; height: 7px; color: var(--plum);
  background:
    linear-gradient(currentColor, currentColor) left center / calc(100% - 10px) 1.5px no-repeat,
    radial-gradient(circle at center, currentColor 0 3px, transparent 3.5px) right center / 7px 7px no-repeat;
}
.primary-nav a, .link-thread, .next-title, .menu-nav a { position: relative; }
.primary-nav a::after, .link-thread::after, .next-title::after, .menu-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; height: 5px; color: var(--plum);
  background:
    linear-gradient(currentColor, currentColor) left center / calc(100% - 9px) 1.5px no-repeat,
    radial-gradient(circle at center, currentColor 0 2.5px, transparent 3px) right center / 5px 5px no-repeat;
  transform-origin: left center;
  transition: transform .45s var(--ease), opacity .25s;
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: .9375rem; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--plum); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--white); color: var(--ink); }

.link-thread {
  display: inline-flex; align-items: center; min-height: 50px;
  font-family: var(--sans); font-weight: 500; font-size: .9375rem; letter-spacing: .01em;
  color: var(--plum); text-decoration: none;
}
.link-thread::after { bottom: 8px; }
.link-thread:hover::after { transform: scaleX(1.12); }
.link-button { padding: 0; border: 0; background: none; cursor: pointer; justify-self: start; }

.copy {
  min-height: 44px; padding: 0 16px;
  border: 1px solid var(--field); border-radius: 999px; background: transparent;
  font-family: var(--sans); font-weight: 500; font-size: .8125rem; letter-spacing: .02em; color: var(--plum);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.copy:hover { background: var(--plum); border-color: var(--plum); color: var(--white); }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.email { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.email:hover { text-decoration: underline; }

.next { display: inline-flex; flex-direction: column; gap: 4px; margin-top: clamp(44px, 6vw, 72px); text-decoration: none; }
.next-label { font-family: var(--sans); font-weight: 500; font-size: .8125rem; letter-spacing: .06em; color: var(--plum); }
.next-title { font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem); font-weight: 300; line-height: 1.2; color: var(--ink); padding-bottom: 12px; }
.next-title::after { bottom: 0; }
.next:hover .next-title::after { transform: scaleX(1.08); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper-veil);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-stuck { border-bottom-color: var(--hairline); }
.header-row { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; text-decoration: none; }
.brand-mark { height: 40px; width: auto; }
.brand-word { height: 22px; width: auto; }
.primary-nav { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.primary-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--sans); font-weight: 500; font-size: .9375rem; color: var(--ink); text-decoration: none;
}
.primary-nav a::after { bottom: 4px; opacity: 0; transform: scaleX(.35); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { opacity: 1; transform: none; }
.header-cta { min-height: 44px; padding: 0 24px; }
.header-cta[aria-current="page"] { background: var(--ink); }
.menu-button {
  display: none; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--field); border-radius: 999px; background: transparent;
  font-family: var(--sans); font-weight: 500; font-size: .9375rem; color: var(--ink); cursor: pointer;
}

/* ---------- full-screen menu (below 960px) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 40; overflow-y: auto;
  background: var(--paper);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.menu-inner { display: flex; flex-direction: column; min-height: 100%; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.menu .menu-button { display: inline-flex; }
.menu-nav { display: grid; justify-items: start; gap: 2px; padding-block: clamp(20px, 6vw, 48px); }
.menu-nav a {
  font-weight: 300; font-size: clamp(2.125rem, 9vw, 3rem); line-height: 1.12; letter-spacing: -.012em;
  color: var(--ink); text-decoration: none; padding: 9px 0;
}
.menu-nav a::after { bottom: 2px; opacity: 0; } /* the current page carries the same thread as the desktop navigation */
.menu-nav a[aria-current="page"]::after { opacity: 1; }
.menu-foot { margin-top: auto; display: grid; gap: 22px; justify-items: start; padding-block: 28px 36px; border-top: 1px solid var(--hairline); }
.menu-foot .email { font-size: 1.1875rem; }
.menu-open body { overflow: hidden; }

/* ---------- home · hero ---------- */
.hero { padding-block: clamp(28px, 4.6vw, 68px) clamp(40px, 5vw, 72px); overflow-x: clip; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5.3fr) minmax(0, 6.7fr);
  grid-template-areas: "copy art";
  column-gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.hero-copy { grid-area: copy; display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }
.hero-copy .eyebrow { margin-bottom: 30px; }
.hero-name { margin-bottom: 20px; font-size: clamp(2.75rem, .9rem + 4.3vw, 4.5rem); } /* sized so "Bağbaşlıoğlu, MSc" always fits its column */
.postnominal { font-size: .5em; font-weight: 400; letter-spacing: .01em; color: var(--plum); }
.hero-lang { font-style: italic; font-weight: 300; font-size: clamp(1.3125rem, 1.1rem + .9vw, 1.6875rem); line-height: 1.3; color: var(--plum); margin-bottom: 26px; }
.hero-intro { max-width: 31em; margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }

.hero-art { grid-area: art; position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-ill { width: 93%; } /* sits under her portrait; the two arches line up */
.arch { overflow: hidden; border-radius: 999px 999px 14px 14px; background: var(--mist); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
/* her portrait stands above the illustration, centred over its archway */
.hero-door { order: -1; position: relative; z-index: 1; width: clamp(220px, 42%, 276px); aspect-ratio: 3 / 4; margin-bottom: -3%; }
.hero-door .arch { position: relative; width: 100%; height: 100%; border-radius: 999px 999px 6px 6px; box-shadow: 0 0 0 6px var(--paper); }
.hero-face { display: none; } /* phone layout only */

/* ---------- home · areas ---------- */
.section { padding-block: var(--section); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 6vw, 104px); align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px; }
.area-list { border-top: 1px solid var(--hairline); }
.area {
  display: grid;
  grid-template-columns: 52px minmax(0, 13.5rem) minmax(0, 1fr);
  grid-template-areas: "icon title text";
  column-gap: 26px; align-items: start;
  padding-block: 28px; border-bottom: 1px solid var(--hairline);
}
.area-icon {
  grid-area: icon; width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--mist); color: var(--plum);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
}
/* the grounds alternate between the two light brand colours, as the logo's line does */
.area:nth-child(2) .area-icon { border-radius: 44% 56% 47% 53% / 57% 45% 55% 43%; background: var(--haze); }
.area:nth-child(3) .area-icon { border-radius: 52% 48% 41% 59% / 45% 52% 48% 55%; }
.area:nth-child(4) .area-icon { border-radius: 47% 53% 58% 42% / 55% 43% 57% 45%; background: var(--haze); }
.area:nth-child(5) .area-icon { border-radius: 56% 44% 49% 51% / 43% 58% 42% 57%; }
.area-icon svg { width: 24px; height: 24px; }
.area-title { grid-area: title; font-size: 1.4375rem; line-height: 1.22; padding-top: 11px; text-wrap: balance; }
.area-text { grid-area: text; font-size: 1.125rem; line-height: 1.6; padding-top: 11px; }

/* ---------- home · how I work ---------- */
.how { overflow-x: clip; padding-top: clamp(8px, 2vw, 32px); }
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 72px); align-items: center; }
.how-copy { display: grid; gap: 24px; justify-items: start; max-width: 31rem; }
.how-art img { width: 100%; border-radius: 22px; } /* shown whole and framed, so none of the bloom is cut */

/* ---------- inner pages ---------- */
.page { padding-block: clamp(36px, 5.5vw, 84px) var(--section); }
.prose { max-width: 35rem; }
.prose > * + * { margin-top: 1.15em; }
.prose > .display { margin-bottom: .55em; }
.prose > .next { margin-top: clamp(44px, 6vw, 72px); }
.plus { position: relative; top: -.07em; font-size: 1.18em; line-height: 0; } /* Newsreader's plus is drawn small and low beside capitals */

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 104px); align-items: start; }
.about-figure { position: sticky; top: calc(var(--header-h) + 28px); }
.about-face { width: min(100%, 420px); aspect-ratio: 4 / 5; }
.about-figure figcaption { margin-top: 18px; font-family: var(--sans); font-size: .875rem; line-height: 1.65; color: var(--plum); }
.greeting { font-style: italic; }
.statement {
  position: relative; padding-left: 30px; margin-block: 1.7em;
  font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9375rem); line-height: 1.34; color: var(--plum);
}
.prose > .statement { margin-top: 1.7em; }
.statement::before {
  content: ""; position: absolute; left: 0; top: .42em; bottom: .3em; width: 7px;
  background:
    radial-gradient(circle at center, var(--plum) 0 3px, transparent 3.5px) center top / 7px 7px no-repeat,
    linear-gradient(var(--thread), var(--thread)) center 12px / 1.5px calc(100% - 12px) no-repeat;
}

/* approach */
.approach-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "head art" "body art";
  column-gap: clamp(32px, 5vw, 88px); align-items: start;
}
.approach-head { grid-area: head; }
.approach-head .display { margin-bottom: .55em; }
.approach-body { grid-area: body; }
.approach-art { grid-area: art; position: sticky; top: calc(var(--header-h) + 36px); }
.approach-art img { width: 100%; border-radius: 22px; } /* a full picture, so it is framed rather than faded into the page */

/* practical */
.practical-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(24px, 4vw, 72px); align-items: start; margin-bottom: clamp(20px, 3.4vw, 48px); }
.practical-art { width: min(100%, 380px); justify-self: end; margin-top: -10px; }
.terms { border-top: 1px solid var(--hairline); }
.term {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 6vw, 104px);
  padding-block: clamp(30px, 3.6vw, 48px); border-bottom: 1px solid var(--hairline);
}
.term h2 { font-weight: 400; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.2; letter-spacing: -.005em; }
.term-body { max-width: 35rem; }
.term-body p + p { margin-top: 1em; }
.term-body .fee { margin-top: .55em; font-weight: 300; font-size: clamp(1.5rem, 1.3rem + .9vw, 1.9375rem); line-height: 1.3; color: var(--plum); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 104px); align-items: start; }
.contact-strip { width: min(100%, 440px); margin: 0 0 16px -5%; }
.email-line--large .email { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); line-height: 1.3; }
.form { display: grid; gap: 24px; max-width: 36rem; }
.form-title { font-weight: 400; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.2; letter-spacing: -.005em; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-family: var(--sans); font-weight: 500; font-size: .875rem; line-height: 1.4; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.4; color: var(--ink);
  background: rgba(255, 255, 255, .7); border: 1px solid var(--field); border-radius: 12px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover { background: var(--white); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-color: var(--plum); background: var(--white); border-radius: 12px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { font-family: var(--sans); font-size: .8125rem; line-height: 1.5; color: var(--error); }
.form-actions { padding-top: 4px; }
.form-done {
  display: grid; gap: 20px; justify-items: start; max-width: 36rem;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 255, 255, .62); border: 1px solid var(--hairline); border-radius: 22px;
}

/* ---------- dusk band + footer ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.band-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(68, 60, 93, 0) 52%, var(--ink) 100%),
    linear-gradient(100deg, rgba(38, 34, 70, .8) 0%, rgba(38, 34, 70, .66) 36%, rgba(38, 34, 70, 0) 80%);
}
.band-edge { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(36px, 6.6vw, 96px); fill: var(--paper); }
.band-inner { display: grid; gap: 24px; justify-items: start; padding-block: clamp(128px, 15vw, 216px) clamp(64px, 8vw, 112px); }
.band .display { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4rem); }
.band .email { color: var(--white); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); line-height: 1.3; }
.band .copy, .site-footer .copy { border-color: rgba(255, 255, 255, .62); color: var(--white); }
.band .copy { background: rgba(38, 34, 70, .5); } /* its label must not depend on what the picture does behind it */
.band .copy:hover, .site-footer .copy:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
/* on the contact page the band is only a picture */
.band--quiet { height: clamp(170px, 22vw, 300px); }
.band--quiet .band-inner { display: none; }
.band.band--quiet .band-img { height: 100%; object-position: 50% 70%; }
.band.band--quiet::after { background: linear-gradient(to bottom, rgba(68, 60, 93, 0) 45%, var(--ink) 100%); }

.site-footer { background: var(--ink); color: var(--white); padding-block: clamp(36px, 5vw, 60px) 28px; font-family: var(--sans); font-size: .875rem; line-height: 1.75; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 36px clamp(24px, 5vw, 80px); align-items: start; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { display: grid; gap: 18px; justify-items: start; color: var(--lavender); }
.brand--stacked { flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; }
.brand--stacked .brand-mark { height: 58px; }
.footer-nav { display: grid; justify-items: start; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 34px; }
.footer-contact { display: grid; gap: 8px; color: var(--periwinkle); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(173, 187, 222, .3); color: var(--periwinkle); font-size: .8125rem; }

/* ---------- motion: one orchestrated entrance per page, nothing waits on scroll ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes reveal { to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  /* held back for a moment while the fonts arrive; shows on its own even if the script never runs */
  .js.is-loading .rise, .js.is-loading .fade { opacity: 0; animation: reveal 0s linear 1.8s forwards; }
  .view.is-entering .rise { animation: rise .85s var(--ease) both; animation-delay: calc(var(--i, 0) * 75ms); }
  .view.is-entering .fade { animation: fade 1.2s ease both; animation-delay: .12s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .area { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "icon title" "icon text"; column-gap: 22px; }
  .area-text { padding-top: 6px; }
}

@media (max-width: 960px) {
  .primary-nav { display: none; }
  .menu-button { display: inline-flex; }

  /* the hero stacks: her portrait beside the words, the illustration below */
  .hero { padding-top: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "art"; row-gap: 0; }
  .hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) clamp(150px, 23vw, 190px); column-gap: clamp(20px, 4vw, 40px); justify-items: start; align-items: start; }
  .hero-copy > * { grid-column: 1; }
  .hero-face { display: block; grid-column: 2; grid-row: 1 / span 5; width: 100%; aspect-ratio: 3 / 4; }
  .hero-door { display: none; }
  .hero-name { font-size: clamp(2.75rem, 1.5rem + 4.5vw, 4.75rem); }
  .hero-copy .eyebrow { margin-bottom: 18px; }
  .hero-intro { margin-bottom: 28px; }
  .hero-art { margin: 36px calc(-1 * var(--gutter)) 0; }
  .hero-ill { width: 100%; margin-left: 0; aspect-ratio: 4 / 3; object-fit: cover; object-position: 52% 50%; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  body { font-size: 1.125rem; }

  .split, .how-grid, .about-grid, .contact-grid, .practical-head, .term { grid-template-columns: minmax(0, 1fr); }
  .split { row-gap: 36px; }
  .split-head, .about-figure, .approach-art { position: static; }
  .how-grid { row-gap: 28px; }
  .how-art { display: none; } /* stacked layout: the section is words only */

  .about-grid { row-gap: 40px; }
  .about-face { width: min(62%, 300px); }

  .approach-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "art" "body"; }
  .approach-art { margin: -8px 0 16px; }
  .approach-art img { width: 100%; margin-left: 0; }

  .practical-head { row-gap: 8px; }
  .practical-art { justify-self: start; width: min(100%, 420px); margin-left: -5%; }
  .term { row-gap: 12px; }

  .contact-grid { row-gap: 44px; }
  .contact-strip { width: min(100%, 380px); margin-left: -6%; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-nav a { min-height: 44px; }
  /* narrow screens: a strip of the landscape with its golden path, then the words on solid dusk */
  .band { --strip: clamp(190px, 50vw, 300px); }
  .band-img { height: var(--strip); object-position: 50% 70%; }
  .band::after { background: linear-gradient(to bottom, rgba(68, 60, 93, 0) 0, rgba(68, 60, 93, 0) calc(var(--strip) * .5), var(--ink) var(--strip)); }
  .band-inner { padding-top: calc(var(--strip) + 4px); }
}

@media (max-width: 640px) {
  .header-cta { display: none; }
}

@media (max-width: 599px) {
  .hero-copy { display: flex; } /* phones: a single column, her portrait above her name */
  .hero-face { width: 116px; margin: 0 0 22px; }
}

@media (max-width: 520px) {
  .field-pair { grid-template-columns: minmax(0, 1fr); }
  .actions { gap: 4px 26px; }
  .area { column-gap: 16px; padding-block: 24px; }
  .area-icon { width: 46px; height: 46px; }
  .area { grid-template-columns: 46px minmax(0, 1fr); }
  .area-title { padding-top: 8px; font-size: 1.3125rem; }
}

@media (max-width: 350px) {
  .hero-name { font-size: 2.375rem; } /* keeps "Bağbaşlıoğlu, MSc" on one line on the narrowest phones */
}

/* margin thread for the long read: a node per paragraph, joined by the golden line */
@media (min-width: 900px) {
  .threaded > p { position: relative; --node: .72rem; }
  .threaded > p.lead { --node: .84rem; }
  .threaded > p::before {
    content: ""; position: absolute; left: -36px; top: var(--node); width: 7px; height: 7px; border-radius: 50%; background: var(--plum);
  }
  .threaded > p::after { /* runs from this node to just above the next paragraph's node */
    content: ""; position: absolute; left: -33.25px; top: calc(var(--node) + 13px); bottom: calc(-1.15 * 1.1875rem - .72rem + 6px);
    width: 1.5px; background: var(--thread);
  }
  .threaded > p:last-of-type::after { bottom: 4px; }
}
