@font-face {
  font-family: Almarai;
  src: url("assets/Almarai-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Almarai;
  src: url("assets/Almarai-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #fbf8f4;
  --ink: #352d32;
  --muted: #6c5c62;
  --plum: #613a4b;
  --line: #e3d8d4;
  --light: #fffaf5;
  --edge: clamp(22px, 5.2vw, 90px);
  --measure: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 Almarai, Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b35e87; outline-offset: 4px; }
.wrap { width: min(calc(100% - var(--edge) * 2), var(--measure)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; right: 8px; z-index: 12; background: white; border-radius: 4px; padding: 8px 12px; }
.skip-link:focus { top: 4px; }

.masthead { background: var(--paper); }
.masthead-inner { height: 77px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand, nav, .contact-link, .button, .tile-arrow, .book-facts, .footer-links { display: inline-flex; align-items: center; }
.brand { justify-self: start; gap: 8px; color: #593c48; }
.brand-logo { display: block; width: 55px; height: 52px; overflow: hidden; }
.brand-logo img { width: 76px; height: auto; max-width: none; transform: translate(9px, -3px); mix-blend-mode: multiply; }
.brand-name { font-size: 20px; font-weight: 700; white-space: nowrap; }
nav { gap: clamp(23px, 3vw, 50px); }
nav a, .footer-links a, .link-button { font-size: 14px; }
nav a { padding-block: 10px; }
nav a:hover, .footer-links a:hover, .link-button:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 6px; }
.contact-link { justify-self: end; padding: 7px 17px; gap: 16px; border: 1px solid #b8a7ac; border-radius: 25px; font-size: 13px; }
.contact-link:hover { background: #f0e7e4; }
.arrow-icon { width: 19px; height: 13px; display: inline-block; position: relative; flex: none; direction: ltr; }
.arrow-icon::before { content: ""; position: absolute; top: calc(50% - 0.8px); left: 1px; right: 0; border-top: 1.6px solid currentColor; }
.arrow-icon::after { content: ""; position: absolute; left: 1px; top: calc(50% - 4.5px); width: 8px; height: 8px; border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.arrow-icon.diagonal { transform: rotate(40deg) scale(.8); }

.hero { isolation: isolate; position: relative; display: grid; background: #5e4d42; color: var(--light); }
.hero-image, .hero::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 40%; }
.hero::after {
  content: "";
  background: linear-gradient(270deg, rgba(32,22,22,.69) 0%, rgba(39,24,26,.48) 26%, rgba(50,36,30,.09) 64%, rgba(33,25,21,.03));
}
.hero-inner {
  min-height: clamp(382px, 33vw, 550px);
  display: flex;
  align-items: center;
  padding-block: 45px;
}
.hero-copy { margin-inline-start: clamp(0px, 2vw, 32px); }
.hero h1 { font-size: clamp(53px, 4.65vw, 77px); line-height: 1.23; font-weight: 400; }
.hero h1 strong { font-weight: 700; }
.hero p { margin-top: 16px; font-size: clamp(16px, 1.3vw, 21px); }
.button { justify-content: center; border: 0; gap: 24px; border-radius: 38px; padding: 13px 26px; min-height: 48px; font-weight: 700; font-size: 15px; }
.hero-button { color: #412f37; background-color: #faece6; margin-top: 27px; min-width: 148px; }
.hero-button:hover { background-color: #fff7f2; }
.hero-button:focus-visible { outline-color: white; }

.services { padding-block: clamp(36px, 3.75vw, 62px) clamp(48px, 5.6vw, 92px); }
.services h2 { font-size: clamp(27px, 2.45vw, 41px); line-height: 1.5; margin-bottom: clamp(19px, 1.8vw, 32px); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(13px, 1.55vw, 26px); }
.photo-tile {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(17px, 1.9vw, 32px);
  background: #665653;
  color: white;
}
.photo-tile img, .photo-tile::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.photo-tile img { object-fit: cover; transition: transform .6s cubic-bezier(.22,.55,.26,1); }
.online-tile img { object-position: 70% 65%; }
.photo-tile::after {
  content: "";
  background: linear-gradient(to top, rgba(29,19,21,.85), rgba(37,25,27,.57) 23%, rgba(33,23,28,.09) 58%, rgba(33,23,28,.08));
}
.tile-copy { display: flex; flex-direction: column; min-width: 0; }
.tile-label { font-weight: 700; font-size: clamp(17px, 1.85vw, 29px); line-height: 1.44; margin-top: 1px; }
.tile-detail { display: block; margin-top: 6px; font-size: clamp(13px, 1.05vw, 16px); line-height: 1.65; }
.tile-arrow { flex: none; width: 34px; height: 34px; justify-content: center; border: 1px solid #fffc; border-radius: 50%; transition: background-color .25s, color .25s; }
.tile-arrow .arrow-icon { transform: scale(.84); }
@media (hover: hover) and (pointer: fine) {
  .tile-copy { transition: transform .32s ease; transform: translateY(calc(1.65em + 6px)); }
  .tile-detail { opacity: 0; transition: opacity .24s ease; }
  .photo-tile:is(:hover,:focus-visible) img { transform: scale(1.045); }
  .photo-tile:is(:hover,:focus-visible) .tile-copy { transform: none; }
  .photo-tile:is(:hover,:focus-visible) .tile-detail { opacity: 1; }
  .photo-tile:is(:hover,:focus-visible) .tile-arrow { background: #fff; color: var(--ink); }
}

.coach-panel {
  background: #f0e8e3;
  color: #422f38;
  padding-block: clamp(36px, 5vw, 76px);
}
.coach-inner {
  max-width: 920px;
  display: grid;
  grid-template-columns: minmax(160px, 245px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 100px);
}
.coach-portrait {
  overflow: hidden;
  background: #e7e7e7;
  border-radius: 110px 110px 8px 8px;
}
.coach-portrait img { width: 100%; height: auto; }
.coach-intro { color: #795969; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.coach-bio h2 { font-size: clamp(38px, 3.6vw, 60px); line-height: 1.4; }
.coach-role { font-size: clamp(17px, 1.55vw, 23px); margin-top: 9px; max-width: 27em; text-wrap: pretty; }
.coach-qualification { color: #6a555e; margin-top: 5px; font-size: 15px; }
.coach-contact {
  display: inline-flex; align-items: center; gap: 11px; color: var(--plum);
  font-weight: 700; font-size: 14px; margin-top: 18px; padding: 6px 0;
  border-bottom: 1px solid #b799a2;
}
.coach-contact:hover { border-color: var(--plum); }
@media (max-width: 670px) {
  .coach-inner { grid-template-columns: minmax(95px, .7fr) minmax(0, 1.3fr); gap: 18px; }
  .coach-bio h2 { font-size: clamp(28px, 6.5vw, 40px); }
  .coach-intro, .coach-contact { font-size: 12px; }
  .coach-role { font-size: 15px; margin-top: 6px; }
  .coach-qualification { font-size: 12px; }
  .coach-contact { margin-top: 8px; }
}
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-inner > span { font-weight: 700; }
.footer-links { gap: 26px; color: var(--muted); }
.link-button, .skip { background: none; border: 0; padding: 0; }
.footer-inner small { color: var(--muted); font-size: 12px; }

dialog {
  color: var(--ink);
  width: min(calc(100% - 32px), 490px);
  max-height: calc(100dvh - 36px);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  box-shadow: 0 20px 90px #20101b47;
  overflow: auto;
}
dialog::backdrop { background: #1f1720a8; }
dialog h2 { font-size: clamp(23px, 3vw, 29px); line-height: 1.5; padding-inline-end: 28px; }
dialog h2:focus { outline: none; }
dialog h3 { font-size: 18px; }
dialog p { font-size: 15px; line-height: 1.8; margin-block: 13px; }
dialog button:disabled { opacity: .55; cursor: default; }
.close {
  position: absolute; top: 14px; inset-inline-end: 14px;
  width: 32px; height: 32px; line-height: 1; font: 26px/1 Arial, sans-serif;
  border: 0; border-radius: 50%; color: var(--plum); background: #eee5e3;
}
.category { margin: 0 0 9px; color: var(--plum); font-size: 13px; font-weight: 700; }
dialog .hint { color: var(--muted); font-size: 13px; }
dialog label, legend { display: block; font-size: 14px; font-weight: 700; margin-top: 17px; }
dialog select, dialog input[type="email"] {
  display: block; width: 100%; min-height: 45px; margin-top: 5px;
  border: 1px solid #cfc2c1; border-radius: 7px; padding: 7px 10px; background: #fffdfb; color: var(--ink);
}
input[type="checkbox"] { accent-color: var(--plum); inline-size: 17px; block-size: 17px; margin: 0; }
.check-line { display: flex; align-items: center; gap: 9px; }
.full { width: 100%; margin-block-start: 20px; }
.primary { background: var(--plum); color: #fff; }
.primary:hover:enabled, a.primary:hover { background: #4b293a; }
.soft { background: #eadedc; }
.skip { display: block; color: var(--plum); text-decoration: underline; text-underline-offset: 4px; margin: 14px auto 0; font-size: 14px; }
.review-card { border-block: 1px solid var(--line); margin-top: 20px; }
.review-card div, .review-card p { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.review-card :is(div,p):last-child { border: 0; }
.review-card :is(dt,span) { color: var(--muted); }
.review-card dd { font-weight: 700; }
.book-facts { gap: 12px; margin-top: 12px; font-size: 14px; color: var(--plum); }
.book-facts span + span { padding-inline-start: 12px; border-inline-start: 1px solid #cdbbc1; }
.notice, .course-option { background: #f1e9e5; border-radius: 7px; padding: 14px 17px; }
.course-option { margin-top: 22px; padding: 18px; }
.course-option p { margin: 6px 0; font-size: 14px; }
.course-option .full { margin-top: 12px; }
details { margin-top: 18px; border-block-start: 1px solid var(--line); padding-top: 13px; }
summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.choice-row, .demo-services { display: flex; gap: 7px; flex-wrap: wrap; }
.choice { border: 1px solid #ccbdc1; border-radius: 7px; background: #fffdfa; font-size: 13px; padding: 8px 11px; }
.choice:hover, .choice[aria-pressed="true"] { border-color: var(--plum); color: var(--plum); background: #f2e4e8; }
fieldset { margin: 13px 0; padding: 0; border: 0; }
legend { margin: 0 0 6px; }

@media (max-width: 860px) {
  .masthead-inner { height: 69px; gap: 18px; }
  .brand { gap: 3px; }
  .brand-name { font-size: 17px; }
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  .contact-link { font-size: 12px; gap: 7px; padding-inline: 12px; }
  .hero-inner { min-height: 356px; }
  .hero-copy { margin: 0; }
  .tile-arrow { width: 28px; height: 28px; }
  .photo-tile { padding: 14px; }
}
@media (max-width: 670px) {
  :root { --edge: 20px; }
  .masthead-inner { grid-template-columns: 1fr auto; }
  .masthead nav { display: none; }
  .brand-name { font-size: 18px; }
  .hero-inner { min-height: 390px; align-items: flex-end; padding-block: 40px; }
  .hero-image { object-position: 46% center; }
  .hero::after { background: linear-gradient(270deg, #2015198f 0%, #2b1f2438 72%), linear-gradient(to top, #281d2469, transparent 65%); }
  .hero h1 { font-size: 50px; }
  .hero p { font-size: 15px; margin-top: 10px; }
  .hero-button { margin-top: 22px; }
  .services { padding-block: 30px 39px; }
  .services h2 { font-size: 26px; margin-bottom: 17px; }
  .service-grid { grid-template-columns: 1fr; gap: 15px; }
  .photo-tile { padding: 22px; }
  .tile-label { font-size: 25px; }
  .tile-arrow { width: 34px; height: 34px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; justify-content: start; gap: 12px; padding-block: 20px; }
  .footer-links { grid-row: 2; grid-column: 1 / -1; gap: 18px; }
  .footer-links a, .link-button { font-size: 13px; }
  .footer-inner small { grid-row: 1; grid-column: 2; }
  dialog { padding: 30px 21px 23px; }
}
@media (min-width: 450px) and (max-width: 670px) {
  .services .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .photo-tile { padding: 12px; }
  .tile-arrow { display: none; }
  .tile-label { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo-tile img, .tile-copy, .tile-detail, .tile-arrow { transition: none; }
  .photo-tile:is(:hover,:focus-visible) img { transform: none; }
}
.credentials { display:grid; grid-template-columns:1fr minmax(230px,.95fr); gap:clamp(25px,7vw,110px); align-items:center; padding-block:clamp(32px,5vw,80px); }
.credentials h2 { font-size:clamp(26px,3vw,42px); line-height:1.45; margin-bottom:16px; }
.credentials h3 { color:var(--plum); font-size:clamp(17px,1.6vw,24px); }
.credentials p { font-size:15px; margin-block:5px 14px; color:var(--muted); }
.credentials div>a { text-decoration:underline; text-underline-offset:.3em; color:var(--plum); }
.license-preview { display:block; border:1px solid var(--line); border-radius:8px; padding:clamp(12px,2.2vw,25px); background:#fff; }
.license-preview img { width:100%; height:auto; }
@media(max-width:670px){.credentials{grid-template-columns:1fr;gap:20px;}}
