/* Akila careers, "A second chair": quiet, spacious, cream. Tokens from the owner-locked pricing standard. */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-var-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-var-italic-latin.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* Width-matched fallbacks (measured 2026-09-24: Newsreader/Georgia 1.005, General Sans/Arial 1.0068), so the
   swap to web fonts does not re-wrap lines and shift the page. */
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 100.5%; }
@font-face { font-family: "General Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 100.7%; }

:root {
  --paper: #faf6ee;
  --white: #fffefa;
  --ink: #161310;
  --text: #36302a;
  --muted: #6b6258;
  --line: #e5ddcd;
  --line-strong: #d8ccb6;
  --accent: #f7dc00;
  --accent-dark: #d4bd00;

  --serif: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --sans: "General Sans", "General Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Six sizes, no more. */
  --fs-display: clamp(2.75rem, 1.55rem + 4.1vw, 4.5rem);   /* 44 -> 72 */
  --fs-h2: clamp(2rem, 1.45rem + 1.9vw, 3rem);              /* 32 -> 48 */
  --fs-statement: clamp(1.5rem, 1.2rem + 1.05vw, 2.125rem); /* 24 -> 34 */
  --fs-line: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem);     /* 19 -> 22 */
  --fs-body: 1.0625rem;                                     /* 17 */
  --fs-small: .9375rem;                                     /* 15 */
  --fs-label: .75rem;                                       /* 12 */

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1240px;
  --section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --r-control: 8px;
  --r-card: 12px;
  --r-sheet: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--r-control);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.label {
  font-family: var(--sans); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.h2 { font-family: var(--serif); font-size: var(--fs-h2); font-weight: 350; line-height: 1.1; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.h2 em, .display em { font-style: italic; font-weight: 350; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.75rem; border-radius: var(--r-control);
  font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 1.15rem; height: 1.15rem; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }
.text-link {
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em;
  text-decoration-color: var(--line-strong); transition: text-decoration-color .25s var(--ease);
}
.text-link:hover { text-decoration-color: var(--ink); }
.link-btn { background: none; border: 0; padding: .5rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: .3em; color: var(--muted); min-height: 44px; }

/* ---------- Header ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 84px; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
}
.nav__logo { grid-column: 2; display: flex; align-items: center; min-height: 48px; }
.nav__logo img { width: 116px; height: auto; }
.nav__side { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.nav__side--left { grid-column: 1; justify-self: start; }
.nav__side--right { grid-column: 3; justify-self: end; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px;
  font-size: .875rem; letter-spacing: .04em; color: var(--text); text-decoration: none;
  background: none; border: 0; padding: 0; cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 calc(50% + .75em);
  transition: background-size .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { background-size: 100% 1px; }
.nav__link svg { width: .9rem; height: .9rem; transition: transform .25s var(--ease); }
.nav__has-menu { position: relative; }
.nav__menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + .5rem); left: -1rem; min-width: 220px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: .5rem; box-shadow: 0 18px 40px -24px rgba(22, 19, 16, .35);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__menu-btn[aria-expanded="true"] + .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: var(--r-control); text-decoration: none; font-size: .9375rem; }
.nav__menu a:hover { background: var(--paper); }
.nav__apply { padding-left: clamp(1.25rem, 2.4vw, 2.25rem); border-left: 1px solid var(--line); }

.nav__burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 999px; cursor: pointer; color: var(--ink);
}
.nav__burger svg { width: 1.5rem; height: 1.5rem; }

@media (max-width: 959px) {
  .nav__inner { grid-template-columns: auto 1fr auto; height: 68px; }
  .nav__logo { grid-column: 1; }
  .nav__logo img { width: 96px; }
  .nav__side { display: none; }
  .nav__burger { display: inline-flex; grid-column: 3; }
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: clamp(3.5rem, 2rem + 6vw, 8rem) 0 clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.hero .label { margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
.hero .label span { margin-inline: .7em; }
.display {
  font-family: var(--serif); font-size: var(--fs-display); font-weight: 330; line-height: 1.04;
  letter-spacing: -.022em; color: var(--ink); text-wrap: balance;
}
.hero__lede { max-width: 38rem; margin: clamp(1.25rem, 1rem + 1vw, 2rem) auto 0; color: var(--muted); font-size: 1.125rem; line-height: 1.65; text-wrap: pretty; }
.hero__ctas { display: flex; align-items: center; justify-content: center; gap: 1.25rem 2rem; flex-wrap: wrap; margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); }
.hero__call { font-size: .9375rem; display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 599px) {
  .hero { padding-top: 2.5rem; padding-bottom: 2.25rem; }
  .hero__lede { font-size: 1.0625rem; }
  .hero__ctas { flex-direction: column; gap: .5rem; }
  .hero__ctas .btn { width: 100%; max-width: 360px; }
}

/* Entrance: quiet, one pass. */
.js .rise { opacity: 0; transform: translateY(14px); }
.is-loaded .rise { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-loaded .rise:nth-child(2) { transition-delay: .08s; }
.is-loaded .rise:nth-child(3) { transition-delay: .16s; }
.is-loaded .rise:nth-child(4) { transition-delay: .24s; }

/* ---------- Still life ---------- */
.still { position: relative; margin: 0; overflow: hidden; background: #e9dfcd; aspect-ratio: 1 / 1; }
/* Phones: square frame from the 4:5 still, trimming empty wall so the tools reach the first screen. */
@media (max-width: 767px) { .still img { object-position: 50% 78%; } }
.still picture, .still img, .still video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.still video { opacity: 0; transition: opacity 1.2s var(--ease); }
.still video.is-playing { opacity: 1; }
.still__toggle {
  position: absolute; right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem);
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(22, 19, 16, .18);
  background: rgba(250, 246, 238, .82); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.still__toggle svg { width: 1rem; height: 1rem; }
.still__toggle .i-play { display: none; }
.still__toggle.is-paused .i-play { display: block; }
.still__toggle.is-paused .i-pause { display: none; }
@media (min-width: 768px) {
  .still { aspect-ratio: 21 / 9; max-height: 86vh; }
}

/* ---------- Headline over the still life (owner pick 2026-09-24) ----------
   Only where the frame is big enough: below 1280 x 800 the text block would sit on the towel or the brush,
   and the side crop would cut the tea glass, so smaller screens keep the stacked layout. */
@media (min-width: 1280px) and (min-height: 800px) {
  .top { display: grid; }
  .top > * { grid-area: 1 / 1; }
  /* Text sits top-left, over the plain wall and leaf shadow; the towel starts at ~52% height, the brush at ~50% width. */
  .hero { position: relative; z-index: 2; align-self: start; text-align: left; padding: clamp(2rem, .5rem + 2.5vw, 3.5rem) 0 0; }
  .hero .label { color: var(--text); }
  .hero .label span { margin-inline: .7em; }
  .display { font-size: clamp(2.5rem, 1.2rem + 3.2vw, 4.25rem); max-width: 11.5em; }
  .hero__lede { color: var(--text); max-width: 40rem; margin-left: 0; }
  .hero__ctas { justify-content: flex-start; margin-top: clamp(1.5rem, 1rem + 1vw, 2.25rem); }
  .still { aspect-ratio: auto; max-height: none; height: clamp(640px, 56vw, calc(100svh - 84px)); }
  .still img, .still video { object-position: 60% 100%; }
  /* A cream wash from the top-left corner, never a dark scrim: dark type on a light ground. */
  .still::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse 72% 78% at 0% 0%, rgba(250, 246, 238, .95) 0%, rgba(250, 246, 238, .86) 42%, rgba(250, 246, 238, .45) 68%, rgba(250, 246, 238, 0) 100%);
  }
  .still__toggle { z-index: 3; }
}

/* ---------- Facts ---------- */
.facts { border-bottom: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: repeat(5, 1fr); }
.facts__list > div { padding: clamp(1.75rem, 1rem + 2vw, 2.75rem) clamp(.75rem, 1.5vw, 1.5rem); text-align: center; }
.facts__list > div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: .75rem 0 0; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.35; color: var(--ink); text-wrap: balance; }
.facts__list.has-pay { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 959px) {
  .facts__list, .facts__list.has-pay { grid-template-columns: 1fr; }
  .facts__list > div { display: grid; grid-template-columns: 6.75rem 1fr; gap: .75rem; align-items: baseline; text-align: left; padding: 1rem 0; }
  .facts__list > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts dd { margin: 0; font-size: 1.125rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2.5vw, 2.5rem); }
.grid__label { grid-column: 1 / span 3; padding-top: .55rem; }
.grid__body { grid-column: 4 / -1; }
@media (max-width: 959px) {
  .grid__label, .grid__body { grid-column: 1 / -1; }
  .grid__label { padding-top: 0; margin-bottom: 1.25rem; }
}

.statement { font-family: var(--serif); font-size: var(--fs-statement); font-weight: 350; line-height: 1.3; color: var(--ink); max-width: 30ch; text-wrap: pretty; }
.statement--quiet { margin-top: 1rem; color: var(--muted); }

/* The work (.role): a detail photo from the still-life set beside one statement and four short points. */
.role { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 2.5vw, 2.5rem); align-items: center; }
.role__image { grid-column: 1 / span 5; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); background: #e9dfcd; }
.role__image img { width: 100%; height: 100%; object-fit: cover; }
.role__body { grid-column: 7 / -1; }
.role__body .statement { margin-top: 1.25rem; }
.role__body .statement--quiet { margin-top: .75rem; }
.pairs { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.pairs__head { font-size: var(--fs-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.pairs__list { display: grid; grid-template-columns: 1fr; margin-top: .75rem; max-width: 30rem; }
.pairs__list li { display: grid; grid-template-columns: 2.25rem 1fr; align-items: baseline; padding: .95rem 0; border-top: 1px solid var(--line-strong); }
.pairs__list li:last-child { border-bottom: 1px solid var(--line-strong); }
.pairs__n { font-family: var(--serif); font-size: .9375rem; color: var(--muted); padding-top: .15rem; font-feature-settings: "lnum"; }
.pairs__line { font-family: var(--serif); font-size: var(--fs-line); line-height: 1.3; color: var(--ink); }
@media (max-width: 959px) {
  .role { grid-template-columns: 1fr; }
  .role__image { display: none; }
  .role__body { grid-column: 1; }
}
@media (max-width: 599px) {
  .pairs__list { grid-template-columns: 1fr; }
  .pairs__list li { padding: .95rem 0 1rem; }
}

/* The standard */
.standard__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem 4rem; flex-wrap: wrap; }
.standard__intro { margin-top: 1rem; color: var(--muted); max-width: 34rem; }
/* Cards share one height and keep each photo's own ratio, so nothing is cropped and the captions line up.
   Widths: 3:4 + three 4:5 = 3.15 heights, plus three gaps. */
.work { --gap: 2rem; display: flex; justify-content: space-between; gap: var(--gap); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.ba { flex: none; }
.ba__frame {
  position: relative; overflow: hidden; border-radius: var(--r-card); background: #ece3d3;
  aspect-ratio: var(--ar, 4 / 5); height: calc((min(var(--max), 100vw - var(--gutter) * 2) - var(--gap) * 3) / 3.15); width: auto;
  cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: pan-y;
}
.ba__frame picture, .ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { opacity: 0; transition: opacity .35s var(--ease); }
.ba.is-before .ba__before { opacity: 1; }
/* Nothing sits on the photo by default. A small "Before" tag shows only while the before photo is up. */
.ba__state {
  display: none; position: absolute; left: .6rem; top: .6rem; padding: .2rem .5rem; border-radius: 999px;
  background: rgba(250, 246, 238, .9); color: var(--ink); font-size: .625rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.ba.is-before .ba__state { display: inline-flex; }
.ba__state-after { display: none; }
.ba__toggle {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin-top: .1rem; border: 0; background: none; cursor: pointer;
  color: var(--ink); font-size: .875rem; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; text-decoration-color: #968a7c;
}
.ba__toggle:hover { text-decoration-color: var(--ink); }
.ba__title { margin-top: 1rem; font-family: var(--serif); font-size: 1.1875rem; color: var(--ink); line-height: 1.3; }
.ba__note { margin-top: .2rem; font-size: var(--fs-small); color: var(--muted); }
.ba__title, .ba__note { max-width: 100%; }
.ba > p { width: 0; min-width: 100%; }
/* Phones: all four visible at once, two by two. A 4:5 card is exactly half the row; the 3:4 balayage is a touch narrower. */
@media (max-width: 767px) {
  .work { --gap: .75rem; flex-wrap: wrap; row-gap: 1.75rem; }
  .ba__frame { height: calc((100vw - var(--gutter) * 2 - var(--gap)) / 1.6); }
  .ba__toggle { font-size: .8125rem; }
  .ba__title { margin-top: .75rem; font-size: 1.0625rem; }
  .ba__note { font-size: .875rem; }
}

.quote { margin: clamp(4.5rem, 3rem + 5vw, 8rem) auto 0; max-width: 46rem; text-align: center; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 330; font-size: var(--fs-statement); line-height: 1.35; color: var(--ink); text-wrap: balance; }
.quote footer { margin-top: 1.25rem; }
.quote .quote__stat { margin-top: .5rem; font-family: var(--sans); font-style: normal; font-size: var(--fs-small); color: var(--muted); }

/* How hiring works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.step { border-top: 1px solid var(--line-strong); padding-top: 1.5rem; }
.step__n { font-family: var(--serif); font-size: 1rem; color: var(--muted); font-feature-settings: "lnum"; }
.step__title { margin-top: 1.25rem; font-family: var(--serif); font-size: var(--fs-line); line-height: 1.3; color: var(--ink); }
.step__text { margin-top: .5rem; font-size: 1rem; line-height: 1.55; color: var(--text); }
.process__promise { margin-top: 1.25rem; color: var(--muted); }
@media (max-width: 959px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .5rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
  .step__n { grid-row: 1 / span 2; padding-top: .2rem; }
  .step__title { margin-top: 0; }
}

/* ---------- Apply ---------- */
.apply { background: var(--white); border-top: 1px solid var(--line); }
/* Short top padding and a scroll margin, so "Apply" lands with the whole form on one screen. */
.apply { padding-top: clamp(3rem, 2rem + 3vw, 5rem); scroll-margin-top: 84px; }
.apply__grid {
  display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr;
  column-gap: clamp(3rem, 6vw, 7rem); row-gap: 0; align-items: start;
}
.apply__intro { grid-column: 1; grid-row: 1; }
.apply__aside { grid-column: 1; grid-row: 2; }
.composer { grid-column: 2; grid-row: 1 / span 2; scroll-margin-top: calc(84px + 1.5rem); }
.apply__lede { margin-top: 1.25rem; font-size: 1.125rem; color: var(--text); max-width: 26rem; }
.apply__privacy { margin-top: 1rem; font-size: var(--fs-small); color: var(--muted); max-width: 26rem; }
.apply__alt { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .25rem; }
.apply__alt .label { margin-bottom: .5rem; }
.apply__alt-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--ink); text-decoration: none; width: fit-content; }
.apply__alt-link:hover span { text-decoration: underline; text-underline-offset: .3em; }
.apply__alt-link svg { width: 1.1rem; height: 1.1rem; color: var(--muted); }
/* Phones and tablets: heading, then the form, then the privacy line and phone number. */
@media (max-width: 959px) {
  .apply { scroll-margin-top: 68px; }
  .apply__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .apply__intro, .apply__aside, .composer { grid-column: 1; grid-row: auto; }
  .composer { margin-top: 1.5rem; scroll-margin-top: calc(68px + .75rem); }
  .apply__aside { margin-top: 1.5rem; }
}

/* The form: no box, fields on hairlines, small caps labels, serif entries. One yellow button; the other channel is a quiet link. */
.composer { border-top: 1px solid var(--ink); padding-top: clamp(1.5rem, 1rem + 1vw, 2rem); }
.composer__form { display: grid; gap: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: .3rem; }
.field > label, .field > legend {
  font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 0;
}
.field legend { margin-bottom: .7rem; }
.field__opt { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); margin-left: .5rem; font-size: .8125rem; }
/* The underline is #968a7c (3.3:1 on the page) so the field edge meets WCAG 1.4.11. */
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 46px; padding: .5rem 0 .55rem; border: 0; border-bottom: 1px solid #968a7c; border-radius: 0;
  background: transparent; font-family: var(--serif); font-size: 1.1875rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 76px; line-height: 1.45; }
.field input::placeholder, .field textarea::placeholder { color: #9a8f82; font-style: italic; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field input[aria-invalid="true"] { border-bottom-color: #a1321f; box-shadow: 0 1px 0 #a1321f; }
.field__err { font-size: .8125rem; color: #a1321f; }

.seg, .chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg label, .chips label { position: relative; }
.seg input, .chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span, .chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; font-size: .875rem; color: var(--text);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.seg label:hover span, .chips label:hover span { border-color: var(--ink); }
.seg input:checked + span, .chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Years: one joined control instead of four loose pills. */
.seg--joined { display: inline-flex; gap: 0; border: 1px solid #968a7c; border-radius: 999px; padding: 2px; width: fit-content; }
.seg--joined span { border: 0; min-height: 44px; padding: 0 1.15rem; }
.seg--joined label:hover span { background: var(--paper); }
.seg--joined input:checked + span { background: var(--ink); }

.more { border-top: 1px solid var(--line); }
.more summary {
  display: flex; align-items: center; gap: .35rem; min-height: 48px; cursor: pointer; list-style: none;
  font-size: .9375rem; color: var(--ink);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before {
  content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; margin-right: .4rem;
  border: 1px solid #968a7c; border-radius: 999px; font-weight: 400; line-height: 1; color: var(--ink);
}
.more[open] summary::before { content: "\2212"; }
.more .field__opt { font-size: .8125rem; }
.more__body { display: grid; gap: 1.5rem; padding: .5rem 0 .25rem; }

.composer__send { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.75rem; padding-top: .25rem; }
.composer__send .btn--accent { min-width: 15rem; }
.btn--quiet {
  background: none; border: 0; padding: 0; min-height: 44px; color: var(--ink); font-weight: 500; gap: 0;
}
.btn--quiet .t {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; text-decoration-color: #968a7c;
}
.btn--quiet:hover .t { text-decoration-color: var(--ink); }
.btn--accent .or { display: none; }
.btn--quiet .or { margin-right: .35em; color: var(--muted); font-weight: 400; }
.composer__hint { font-size: .8125rem; color: var(--muted); margin-top: -.75rem; }
@media (max-width: 599px) {
  .field-row { gap: 1rem; }
  .composer__send { flex-direction: column; align-items: stretch; gap: .25rem; }
  .composer__send .btn--accent { width: 100%; }
  .composer__hint { text-align: center; margin-top: -1rem; }
}

.composer__done { text-align: center; padding: 2rem 0; }
.composer__done:focus { outline: none; }
.composer__done-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 999px; align-items: center; justify-content: center; background: var(--ink); color: var(--white); }
.composer__done-icon svg { width: 1.5rem; height: 1.5rem; }
.composer__done-title { margin-top: 1.25rem; font-family: var(--serif); font-size: 1.75rem; color: var(--ink); }
.composer__done-text { margin: .75rem auto 0; max-width: 28rem; color: var(--muted); }
.composer__done-actions { margin-top: 1.75rem; display: grid; justify-items: center; gap: .5rem; }

/* ---------- Footer (site standard, ink) ---------- */
.footer { background: var(--ink); color: #d9d0c2; padding: 3.5rem 0 2rem; font-size: .875rem; }
.footer a { color: #d9d0c2; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .3em; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.footer__brand { font-weight: 600; color: var(--white); font-size: 1rem; letter-spacing: .02em; }
.footer__links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__social { display: flex; gap: .75rem; }
.footer__social a { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); }
.footer__social svg { width: 1.15rem; height: 1.15rem; }
.footer__bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__copy [lang="fa"] { font-family: "Vazirmatn", var(--sans); }

/* ---------- Mobile apply bar ---------- */
.apply-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  gap: .75rem; padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.apply-bar.is-visible { transform: none; }
.apply-bar .btn { flex: 1; }
.apply-bar__call { width: 52px; height: 52px; flex: none; border-radius: var(--r-control); border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.apply-bar__call svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 959px) { .apply-bar { display: flex; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rise, .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .still video { display: none; }
  .still__toggle { display: none; }
}

/* ---------- One voice with the homepage (2026-09-25) ----------
   Labels warm brown, section ledes in italic serif, a fine bronze rule closing each head, grounds alternating
   paper / stone. Layout, copy, photos, form and actions unchanged. */
.label { color: #6b5a4a; }
.standard__intro, .apply__lede, .process__promise {
  font-family: var(--serif); font-style: italic; font-size: 1.1875rem; line-height: 1.5; color: #5c5046;
}
.section .h2::after { content: ""; display: block; width: 56px; height: 1px; background: #b38a5e; margin-top: 24px; }
.section .h2:has(+ .standard__intro)::after, .section .h2:has(+ .apply__lede)::after { content: none; }
.standard__intro::after, .apply__lede::after { content: ""; display: block; width: 56px; height: 1px; background: #b38a5e; margin-top: 24px; }
body { background: #fffefa; }
main > .section:nth-of-type(odd):not(.apply) { background: #f3ece0; }
main > .section + .section { border-top: 0; }
main > .section.apply { background: #f3ece0; }
/* contrast on the stone ground */
main > .section:nth-of-type(odd), main > .section.apply { --muted: #574c42; }
main > .section.apply .label, main > .section:nth-of-type(odd) .label { color: #5a4b3e; }
main > .section.apply .apply__alt > .label { color: #4f4338 !important; }
/* One type scale, every page (2026-09-25): H1 40 -> 72px like the other pages. */
.hero h1, .hero .display { font-size: clamp(2.5rem, 1.35rem + 4.3vw, 4.5rem); }

/* Phones and tablets (2026-09-26): header aligned with every other page. Up to 720px the logo is centred at 40px
   tall; from 721px to desktop it sits left at 60px tall; the two-line menu icon sits 24px from the edge. */
@media (max-width: 959px) {
  .nav__inner { grid-template-columns: auto 1fr auto; height: 72px; padding-inline: 24px; }
  .nav__logo { grid-column: 1; justify-self: start; }
  .nav__logo img { width: auto; height: 60px; }
  .nav__burger { grid-column: 3; justify-self: end; }
}
@media (max-width: 720px) {
  .nav__inner { grid-template-columns: 1fr auto 1fr; }
  .nav__logo { grid-column: 2; justify-self: center; }
  .nav__logo img { height: 40px; }
}

/* Menu button (2026-09-26): the same button as every other page: two unequal lines (short one in brand bronze),
   no label, a bold X when open. The svg stays in the markup for the script and is hidden. */
@media (max-width: 959px) {
  .nav__burger { position: relative; display: inline-block; width: 44px; height: 44px; padding: 0; }
  .nav__burger svg { display: none; }
  .nav__burger span { position: absolute; right: 9px; height: 1.5px; border-radius: 2px; background: #161310; transition: transform .45s cubic-bezier(.2, .7, .2, 1), width .45s cubic-bezier(.2, .7, .2, 1), top .45s cubic-bezier(.2, .7, .2, 1), height .3s, background .3s; }
  .nav__burger span:nth-of-type(1) { top: 18.5px; width: 28px; }
  .nav__burger span:nth-of-type(2) { top: 25.5px; width: 18px; background: #7a5a3e; }
  .nav__burger[aria-expanded="true"] span { top: 21.5px; width: 26px; height: 2px; right: 10px; background: #161310; }
  .nav__burger[aria-expanded="true"] span:nth-of-type(1) { transform: rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-of-type(2) { transform: rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) { .nav__burger span { transition: none; } }

/* ---------- Mobile menu (2026-10-15) ----------
   The site's standard two-list panel (owner rulings 89, 98, 103): the same component every other page carries in
   akila-chrome.css, copied here so careers opens the identical menu. Careers keeps its own tokens: the ones the panel
   needs are defined on the panel itself, so nothing else on this page changes. Under 960px, opened by .nav__burger. */
.mobile-menu {
  --dark: #161310;
  --space-1-5: 6px; --space-2: 8px; --space-2-5: 10px; --space-3: 12px; --space-3-5: 14px;
  --space-4: 16px; --space-4-5: 18px; --space-5: 20px; --space-6: 24px;
  --radius-sm: 8px; --radius-xl: 16px; --radius-full: 999px;
  --dur-fast: 120ms; --dur-base: 220ms;
  --ease-standard: cubic-bezier(0.32, 0.72, 0, 1); --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1); --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: var(--serif); --font-ui: var(--sans);
  --nav-h: 72px;
  position: fixed; inset: var(--nav-h) 0 0; height: auto; z-index: 999;
  background: none; border: 0; opacity: 0; visibility: hidden;
  font-size: 16px; line-height: 1.65; text-rendering: auto; -webkit-tap-highlight-color: transparent;
  transition: opacity var(--dur-fast) var(--ease-standard), visibility 0s linear var(--dur-fast);
}
@media (max-width: 720px) { .mobile-menu { --nav-h: 56px; } }
@media (min-width: 601px) { .mobile-menu { line-height: 1.7; } }
.mobile-menu.open { opacity: 1; visibility: visible; transition: opacity var(--dur-base) var(--ease-out-quart), visibility 0s; }
.mobile-menu-panel { height: 100%; display: flex; flex-direction: column; background: var(--paper); color: var(--dark); transform: translateY(-10px); transition: transform var(--dur-fast) var(--ease-standard); }
.mobile-menu.open .mobile-menu-panel { transform: translateY(0); transition: transform var(--dur-base) var(--ease-out-expo); }
.mobile-menu a { text-decoration: none; }
.mobile-menu :focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; border-radius: var(--radius-sm); box-shadow: 0 0 0 4px rgba(247, 220, 0, 0.45); }
.mobile-menu-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; border: 0; padding: 40px var(--space-6) 0; gap: 0; }
.mm-v3 .mm-item { display: grid; grid-template-columns: 1fr; align-items: center; min-height: 64px; padding: 0; color: var(--dark); }
.mm-v3 .mm-name { font-family: var(--font-display); font-size: 30px; line-height: 1.15; letter-spacing: -0.012em; font-weight: 400; }
.mm-v3 .mm-second { display: flex; flex-direction: column; gap: 0; margin: auto 0; padding: 32px 0; }
.mm-v3 .mm-second a { font-family: var(--font-ui); font-size: 15px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dark); min-height: 56px; margin: -4px 0; display: inline-flex; align-items: center; }
.mm-v3 .mm-facts { margin-top: 0; padding: 12px 0 20px; display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-ui); font-size: 13.5px; color: var(--muted); }
.mm-v3 .mm-open { color: var(--dark); font-weight: 400; display: inline-flex; align-items: center; gap: 8px; }
.mm-v3 .mm-dot { width: 7px; height: 7px; border-radius: 50%; background: #2e9e5b; flex: none; }
.mm-v3 .mm-open.is-closed .mm-dot { background: #b8b0a6; }
.mm-v3 .mm-item, .mm-v3 .mm-second, .mm-v3 .mm-facts { opacity: 0; transform: translateY(10px);
  transition: opacity 260ms var(--ease-out-quart), transform 320ms var(--ease-out-expo);
  transition-delay: calc(40ms + var(--i, 0) * 35ms); }
.mobile-menu.open .mm-v3 .mm-item, .mobile-menu.open .mm-v3 .mm-second, .mobile-menu.open .mm-v3 .mm-facts { opacity: 1; transform: none; }
/* The dock: Book online (yellow) and Call, the same two buttons as the homepage (ruling 98). */
.mobile-menu-actions { flex: none; margin-top: auto; background: var(--dark); color: var(--paper);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: var(--space-3) var(--space-5) max(var(--space-4), env(safe-area-inset-bottom)); }
.mobile-menu-row { display: flex; align-items: stretch; gap: var(--space-2); }
.mobile-menu .btn-accent { box-sizing: border-box; position: relative; overflow: hidden; flex: 1 1 auto; display: flex;
  align-items: center; justify-content: center; gap: var(--space-2); min-height: 50px; border: 0;
  background: var(--accent); color: var(--dark); font-family: var(--font-ui); font-weight: 600;
  font-size: 16px; letter-spacing: 0.4px; padding: 0 var(--space-3); border-radius: var(--radius-full);
  text-align: center; cursor: pointer; transition: color 350ms ease, transform 80ms ease-out; }
.mobile-menu .btn-accent:active { transform: scale(0.985); }
@media (hover: hover) {
  .mobile-menu .btn-accent:hover { background: color-mix(in oklab, var(--accent) 90%, var(--dark) 10%); transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(15, 23, 42, 0.35); }
}
.mobile-menu-phone { flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  gap: var(--space-1-5); min-height: 50px; margin: 0; padding: 0 var(--space-3-5);
  font-family: var(--font-ui); font-size: 16px; font-weight: 500; color: var(--paper);
  border: 1px solid #4a423a; border-radius: var(--radius-full); }
.mobile-menu-phone svg { width: 15px; height: 15px; }
@media (max-height: 760px) {
  .mobile-menu-actions { padding: var(--space-2-5) var(--space-4-5) max(var(--space-3-5), env(safe-area-inset-bottom)); }
  .mobile-menu .btn-accent { min-height: 46px; }
  .mobile-menu-phone { min-height: 46px; font-size: 13px; padding: 0 var(--space-3); }
}
@media (max-height: 700px) { .mm-v3 .mm-name { font-size: 24px; } .mm-v3 .mm-item { min-height: 52px; } .mm-v3 .mm-second { padding: 16px 0; } .mm-v3 .mm-second a { min-height: 46px; } .mobile-menu-list.mm-v3 { padding-top: 20px; } }
/* Open state: page scroll locked, header sits above the panel on the paper ground with no hairline. */
body.menu-open { overflow: hidden; }
body.menu-open .nav { z-index: 1000; border-bottom-color: transparent; }
body.menu-open .mobile-menu-actions { padding-left: var(--space-6); padding-right: var(--space-6); }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu.open, .mobile-menu-panel, .mobile-menu.open .mobile-menu-panel { transition: none !important; transform: none !important; }
  .mm-v3 .mm-item, .mm-v3 .mm-second, .mm-v3 .mm-facts { transition: none; opacity: 1; transform: none; }
  .mobile-menu .btn-accent:hover { transform: none; box-shadow: none; }
}
