:root {
  color-scheme: dark;
  --bg: #0e0d0d;
  --ink: #f6f0ed;
  --muted: #c6bdbb;
  --red: #bd183b;
  --line: #ffffff25;
  --display: "Rubik", "Arial Black", "Arial", sans-serif;
  --body: "Rubik", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4.7vw, 68px);
  --wrap: min(1320px, calc(100% - var(--gutter) * 2));
  --grid-gap: clamp(12px, 1.6vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; pointer-events: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #ff8297; outline-offset: 5px; }
::selection { background: #a90f31; color: white; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: clamp(30px, 4vw, 58px); }
section[id] { scroll-margin-top: 18px; }

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(48px, 1fr);
  align-items: center;
  gap: var(--grid-gap);
}
.brand {
  display: block;
  justify-self: start;
  width: clamp(190px, 19vw, 272px);
}
.brand img { width: 100%; height: auto; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 35px);
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
}
.primary-nav a, .menu-panel a, .footer-contact { transition: color .2s; }
.primary-nav a:hover, .menu-panel a:hover, .footer-contact:hover { color: #ff7893; }
.menu-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  align-content: center;
  justify-content: end;
  gap: 6px;
  background: none;
  border: 0;
  color: inherit;
  justify-self: end;
  padding: 7px 0 7px 7px;
  cursor: pointer;
}
.menu-toggle span { width: 31px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
.menu-panel {
  position: absolute;
  inset: calc(100% - 8px) 0 auto auto;
  min-width: min(275px, 90vw);
  display: grid;
  background: #181315;
  border: 1px solid #655054;
  box-shadow: 0 15px 40px #0008;
  border-radius: 15px;
  padding: 9px 19px;
}
.menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 10px 4px; font-weight: 600; }
.menu-panel a + a { border-top: 1px solid var(--line); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #090809;
  border-bottom: 1px solid var(--line);
}
.hero-art, .hero-art::after { position: absolute; inset: 0; pointer-events: none; }
.hero-art { z-index: -1; }
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 30%;
}
.hero-art::after {
  content: "";
  background: linear-gradient(90deg,#09080944, #09080930 37%,transparent 63%), linear-gradient(0deg,#09080955,transparent 27%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  min-height: clamp(540px, 46vw, 700px);
  padding: clamp(118px, 10vw, 153px) 0 clamp(39px, 4.4vw, 67px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .9em;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 750;
  font-size: clamp(10px, 1vw, 13px);
}
.eyebrow span { width: 3em; height: 4px; background: var(--red); transform: skew(-28deg); }
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-style: italic; letter-spacing: -.065em; }
.hero-title { font-size: clamp(66px, 9.25vw, 141px); line-height: .85; margin: .2em 0 .16em -.035em; }
em { color: var(--red); font-style: inherit; }
.hero-title em { color: #bd1438; }
.hero-experience { font-size: clamp(28px, 4vw, 61px); line-height: 1.02; margin-left: -.025em; }
.hero-copy { margin-top: .4em; font-size: clamp(19px, 2.05vw, 29px); line-height: 1.13; text-transform: uppercase; font-weight: 650; }
.hero-actions { display: flex; align-items: center; gap: clamp(15px, 2.2vw, 36px); margin-top: 25px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 25px);
  width: fit-content;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px clamp(18px, 2.4vw, 35px);
  min-height: 48px;
  font-weight: 850;
  font-size: clamp(12px, 1.13vw, 16px);
  line-height: 1.15;
  text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #05020555; }
.button svg { font-size: 1.45em; flex: none; transition: transform .2s; }
.button:hover svg { transform: translateX(3px); }
.button-light { color: #121012; background: linear-gradient(130deg, #fff8f2, #ded3ce); border-color: #fbf4ee; }
.button-light:hover { background: #fff; }
.button-dark { color: #fff; background: #1a1416; }
.button-dark:hover { background: #72172a; }
.start-date {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid #fffc;
  padding-left: clamp(13px, 2vw, 31px);
  text-transform: uppercase;
  font-size: clamp(12px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.12;
}
.start-date svg { font-size: 2.1em; color: #da2347; }
.start-date time { display: block; white-space: nowrap; }
.hero-poster-label, .hero-poster-copy, .hero-features, .hero-poster-button { display: none; }

.experience {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 82% 100%, #331920, transparent 63%), #100e0f;
}
.experience-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px) clamp(28px, 4vw, 64px);
}
.experience-intro .eyebrow span { flex: none; }
.experience-intro .section-title { font-size: clamp(30px, 3.75vw, 60px); line-height: 1.02; margin: 13px 0; }
.experience-intro .section-title em { display: block; }
.experience-proof { border-left: 1px solid #bd183b80; padding-left: clamp(18px, 3vw, 47px); }
.experience-title { font-size: clamp(23px, 3vw, 47px); line-height: .94; margin-bottom: 12px; }
.experience-title strong { display: block; color: var(--red); font-size: 1.9em; }
.experience-copy { max-width: 51ch; color: var(--muted); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; }
.experience-statement {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--grid-gap);
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 2.7vw, 36px);
  position: relative;
  isolation: isolate;
}
.experience-quote { font: 900 clamp(19px, 2.2vw, 32px)/1.17 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.experience-quote em { color: #f06b84; }
.experience-signature { color: var(--muted); margin-top: 15px; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.5; }
.experience-signature strong { color: var(--ink); }
.experience-sword { width: 100%; filter: drop-shadow(0 3px 16px #edb99d44); }

.section-title { font: 900 clamp(32px, 4.4vw, 66px)/.98 var(--display); letter-spacing: -.055em; text-transform: uppercase; margin-bottom: clamp(16px, 2vw, 29px); }
.skills, .plans, .works-grid { display: grid; gap: var(--grid-gap); }
.skills { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.skill {
  position: relative;
  display: grid;
  justify-items: center;
  grid-template-rows: auto auto 1fr auto;
  text-align: center;
  min-height: 175px;
  padding: clamp(14px, 1.7vw, 26px) 11px;
  border: 1px solid #dfd4d0;
  border-radius: clamp(12px, 1.5vw, 23px);
  background: radial-gradient(ellipse at 20% 0%, #2b2527, transparent 85%), #151315;
  transition: transform .2s, border-color .2s;
}
.skill:hover { transform: translateY(-3px); border-color: #ee8596; }
.skill::before, .plan::before { content: ""; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.skill::after { content: ""; width: 52px; height: 2px; opacity: .8; background: currentColor; margin-top: 12px; }
.skill-light, .plan-basic { background: radial-gradient(ellipse at 10% 0%, #fff9f4, transparent 78%), linear-gradient(130deg, #ebe0db, #d5c9c4); color: #121012; }
.skill-red, .plan-pro { background: radial-gradient(ellipse at 20% 0%, #bd1d40, transparent 85%), linear-gradient(140deg, #9b112d, #460612); color: #fff6f3; border-color: #d87c8b; }
.skill > svg { font-size: clamp(37px, 4.2vw, 62px); margin-bottom: 6px; stroke-width: 2.1; }
.skill-light > svg, .skill-light::before, .skill-light::after { color: #850f25; }
.skill h3 { font: 900 clamp(15px, 2.05vw, 30px)/1 var(--display); text-transform: uppercase; letter-spacing: -.05em; }
.skill p { margin-top: 7px; font-size: clamp(12px, 1vw, 15px); line-height: 1.25; }
.course-outline { border-bottom: 1px solid var(--line); margin-top: 10px; }
details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: Arial, sans-serif; color: #ee6782; font-size: 1.35em; line-height: 1; flex: none; }
details[open] > summary::after { content: "−"; }
.course-outline summary { padding: 14px 2px; font-weight: 650; }
.outline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; padding: 4px 2px 18px; }
.outline-grid h3 { margin-bottom: .4em; }
.outline-grid p, .faq p { color: var(--muted); line-height: 1.6; }
.tool-list { grid-column: 1 / -1; }
.tool-list strong { margin-right: 8px; color: var(--ink); }

.works {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(0deg,#0e0d0d 1%,transparent 26%),
    radial-gradient(ellipse at 53% 66%,#3f1921 0%,#20151a 25%,transparent 64%);
  padding-top: 0;
}
.ruled { display: flex; align-items: center; gap: .26em; }
.ruled::after { content: ""; height: 1px; width: min(20vw, 260px); background: linear-gradient(90deg,#f6f0ed,transparent); margin-left: .28em; }
.works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.work { min-width: 0; }
.device-stage {
  aspect-ratio: 1.5;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: end center;
  margin-bottom: 14px;
  padding: 4% 4% 5%;
  perspective: 780px;
  border-radius: 16px;
  border: 1px solid #eed2c518;
  background: radial-gradient(ellipse at 50% 102%, #74304058, transparent 67%), #0c0a0b66;
}
.laptop, .monitor, .phone { transition: translate .28s; }
.work:hover .device-stage > div { translate: 0 -4px; }
.laptop { width: 100%; transform: rotateY(11deg) rotateZ(-1deg); }
.laptop-screen, .monitor-screen, .phone {
  background: #080809;
  border: 2px solid #a39897;
  box-shadow: 0 14px 22px #000b, inset 0 0 0 1px #29282a;
}
.laptop-screen { width: 87%; margin: auto; padding: 2.25%; border-radius: 10px 10px 3px 3px; }
.laptop-screen img, .monitor-screen img { width: 100%; height: auto; border-radius: 2px; }
.laptop-base { height: clamp(6px, 1vw, 16px); border-radius: 2px 2px 48% 48%; background: linear-gradient(0deg,#1b1719,#71666b 45%,#cab9b9 75%,#504548 88%); box-shadow: 0 10px 14px #000a; }

.monitor { width: 94%; transform: rotateY(-7deg); }
.monitor-screen { border-radius: 9px 9px 5px 5px; padding: 2.2%; border-bottom: clamp(7px, 1vw, 14px) solid #51494d; }
.monitor-stand { width: 28%; aspect-ratio: 2.9; margin: auto; background: linear-gradient(90deg,#312b30,#958a8d,#302a30); clip-path: polygon(32% 0,68% 0,74% 68%,100% 88%,100% 100%,0 100%,0 88%,26% 68%); }
.phone { height: 100%; aspect-ratio: .58; border-radius: clamp(12px, 1.65vw, 23px); transform: rotate(9deg); padding: 4px; }
.phone-screen { width: 100%; height: 100%; object-fit: contain; border-radius: calc(clamp(12px, 1.65vw, 23px) - 5px); background: #11141b; }
.work h3 { font-weight: 850; font-size: clamp(14px, 1.6vw, 24px); text-transform: uppercase; }
.work h3::before { content: ""; display: inline-block; vertical-align: -.08em; width: 4px; height: 1em; transform: skew(-28deg); background: var(--red); margin-right: .66em; }
.work > p { color: var(--muted); font-size: clamp(12px, 1.1vw, 15px); margin: 4px 0 0; }
.works-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 14px; }

.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; align-items: start; border: 1px solid #eddeda; border-radius: 20px; padding: clamp(16px, 2.5vw, 38px); }
.plan::before { width: 10px; height: 10px; }
.plan-basic::before, .plan-basic .price { color: #840d23; }
.plan-pro { border-color: #e1798b; }
.plan h3 { font: 900 clamp(24px, 3.4vw, 50px)/1 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
.price { font: 900 clamp(33px, 4.6vw, 71px)/1 var(--display); letter-spacing: -.06em; white-space: nowrap; margin: 9px 0 15px; }
.plan-caption { font-weight: 730; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.28; }
.plan-list { padding-left: 1.2em; margin: 13px 0 21px; font-size: clamp(14px, 1.12vw, 16px); line-height: 1.45; }
.plan-list li + li { margin-top: 4px; }
.plan-schedule {
  display: flex;
  align-items: start;
  gap: 10px;
  width: 100%;
  border-top: 1px solid #807074;
  padding-top: 13px;
  margin-top: auto;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.45;
}
.plan-schedule svg { flex: none; width: 1.25em; height: 1.25em; margin-top: .1em; }
.plan-schedule p + p { margin-top: 4px; }
.plan-pro .plan-schedule { border-color: #ffbdc792; }
.plan .button { margin-top: 16px; }

.about { border-block: 1px solid var(--line); padding-block: 0; overflow: hidden; background: radial-gradient(ellipse at 72% 68%,#401421,transparent 55%), #110e10; }
.about-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); align-items: end; }
.about-copy { padding-block: clamp(24px, 4vw, 61px); }
.about-copy .eyebrow { margin-bottom: 14px; }
.about-copy > p:not(.eyebrow) { max-width: 580px; line-height: 1.52; color: var(--muted); margin-top: 12px; font-size: clamp(15px, 1.3vw, 19px); }
.about-copy > .audience { font-weight: 700; color: var(--ink) !important; }
.about-art { align-self: stretch; display: flex; align-items: end; }
.about-art img { width: 100%; max-height: 460px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 10px 32px #030203); }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 15px 1px; font-weight: 680; }
.faq p { padding: 0 24px 15px 1px; }

.final-cta { text-align: center; padding-block: clamp(44px, 6vw, 94px); border-block: 1px solid #5c2933; background: linear-gradient(90deg,#10070b34,#10070b1a), url("media/torii.webp") center / cover; }
.final-cta h2 { margin-bottom: 17px; font-size: clamp(39px, 6.4vw, 100px); line-height: .88; text-shadow: 0 3px 24px #0c060b9e; }
.final-cta h2 em { color: #e73052; }
.footer { min-height: 100px; display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--grid-gap); align-items: center; padding-block: 14px; color: var(--muted); font-size: 13px; }
.footer .brand { width: clamp(146px, 17vw, 218px); }
.footer-contact { display: flex; gap: 8px; align-items: center; justify-self: end; color: var(--ink); white-space: nowrap; }
.footer-contact svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .primary-nav { gap: 17px; font-size: 14px; }
}

@media (max-width: 800px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; min-height: 68px; }
  .site-header .brand { width: clamp(190px, 49vw, 240px); }
  .primary-nav { display: none; }
  .hero-art img { object-position: calc(76% + 30vw) center; }
  .hero-art::after {
    background: linear-gradient(90deg, #090809bc, #0908094c 63%, transparent),
      linear-gradient(0deg, #090809c7, #0908094d 43%, transparent 72%),
      linear-gradient(180deg, #090809bf, transparent 25%);
  }
  .hero-inner { display: block; min-height: 0; padding: clamp(131px, calc(31.5vw + 15px), 195px) 0; }
  .hero-title { font-size: clamp(46px, 13vw, 100px); text-shadow: 0 3px 16px #000c; }
  .hero-title em { color: #eb3157; }
  .hero-copy { font-size: clamp(16px, 4.65vw, 23px); }
  .hero-actions { margin-top: 20px; }
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill { min-height: 138px; padding-block: 15px 12px; }
}

@media (max-width: 800px) and (orientation: portrait) {
  .site-header, .hero-inner { width: calc(100% - 12vw); }
  .site-header { min-height: clamp(60px, 14vw, 104px); }
  .site-header .brand { width: clamp(142px, 41vw, 320px); }
  .site-header .brand img { filter: brightness(0) invert(1); }
  .menu-toggle span { width: clamp(22px, 5vw, 38px); }
  .hero {
    --hero-accent: #ff2b4e;
    background: #0a090a;
  }
  .hero-art img { object-position: right top; }
  .hero-art::after {
    background: linear-gradient(90deg, #09080956, transparent 68%),
      linear-gradient(0deg, #09080930, transparent 35%);
  }
  .hero-inner {
    min-height: clamp(480px, 133.333vw, 1040px);
    padding: clamp(84px, 22.5vw, 176px) 0 clamp(48px, 17vw, 132px);
  }
  .hero .eyebrow { gap: .75em; font-size: clamp(9px, 1.95vw, 16px); letter-spacing: .12em; }
  .hero .eyebrow span { width: 2.8em; height: .52em; flex: none; background: var(--hero-accent); }
  .hero-title { font-size: clamp(41px, 11.4vw, 89px); line-height: .85; margin: .32em 0 .27em -.035em; }
  .hero-title em, .start-date time { color: var(--hero-accent); }
  .hero-experience {
    display: inline-block;
    position: relative;
    isolation: isolate;
    margin: 0 0 0 .3em;
    padding: .28em .63em;
    font-size: clamp(13px, 3.55vw, 28px);
    letter-spacing: -.025em;
    white-space: nowrap;
  }
  .hero-experience::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid var(--hero-accent);
    background: #09080950;
    transform: skewX(-24deg);
  }
  .hero-default-label { display: none; }
  .hero-poster-label { display: inline; }
  .hero-poster-copy {
    display: block;
    margin-top: clamp(17px, 4.8vw, 38px);
    font: italic 650 clamp(13px, 3.9vw, 30px)/1.19 var(--body);
    text-transform: uppercase;
    text-shadow: 0 2px 10px #000c;
  }
  .hero-poster-copy strong {
    display: block;
    color: var(--hero-accent);
    font: italic 900 1.9em/1 var(--display);
    margin-top: .07em;
  }
  .hero-features {
    display: grid;
    grid-template-columns: max-content max-content minmax(0, 1fr);
    align-items: center;
    margin: clamp(19px, 5.7vw, 43px) 0 0;
    padding: 0;
    list-style: none;
  }
  .hero-features li {
    display: flex;
    align-items: center;
    gap: clamp(5px, 1.35vw, 11px);
    padding-inline: clamp(5px, 1.8vw, 14px);
    font-size: clamp(10px, 1.82vw, 15px);
    font-weight: 600;
    line-height: 1.24;
  }
  .hero-features li:first-child { padding-left: 0; }
  .hero-features li:last-child { padding-right: 0; }
  .hero-features li + li { border-left: 1px solid #ffffff65; }
  .hero-features svg { flex: none; font-size: clamp(21px, 5.75vw, 45px); color: var(--hero-accent); stroke-width: 2; }
  .hero-actions { gap: clamp(8px, 2.4vw, 19px); margin-top: clamp(19px, 5.5vw, 42px); }
  .hero-poster-button {
    display: inline-flex;
    gap: .45em;
    min-height: 44px;
    padding: .8em clamp(12px, 3vw, 24px);
    font-size: clamp(11px, 2.65vw, 21px);
    white-space: nowrap;
    color: #fff;
    background: linear-gradient(#fb3053, #9b102c);
    border: 1px solid #f8405c;
    box-shadow: inset 0 2px 0 #ff9cab63, 0 4px 14px #0004;
  }
  .hero-poster-button:hover { background: linear-gradient(#ff4869, #b51739); }
  .hero .start-date { gap: .55em; padding-left: clamp(8px, 2.1vw, 17px); font-size: clamp(9px, 1.85vw, 15px); font-weight: 500; white-space: nowrap; }
  .hero .start-date svg { color: var(--hero-accent); flex: none; font-size: 2.3em; }
  .hero .start-date time { font-size: 1.24em; font-weight: 800; margin-top: .15em; }
}

@media (max-width: 360px) and (orientation: portrait) {
  .hero-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-features li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 600px) {
  .experience-inner, .experience-statement { grid-template-columns: minmax(0, 1fr); }
  .experience-sword { position: absolute; width: min(70%, 320px); right: -20px; bottom: 0; opacity: .19; z-index: -1; }
  .plans, .works-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-caption, .plan-schedule p { text-wrap: pretty; }
  .plan .button { width: 100%; }
  .ruled { display: block; }
  .ruled::after { display: none; }
  .works-grid { row-gap: 24px; }
  .device-stage { width: min(100%, 410px); margin-inline: auto; }
  .about-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .about-copy { padding-bottom: 14px; }
  .about-art img { width: min(100%, 396px); margin-inline: auto; max-height: 270px; }
  .faq { grid-template-columns: 1fr; gap: 0; }
  .final-cta { background-position: 72% center; }
  .footer { grid-template-columns: minmax(0, 1fr) auto; min-height: 92px; gap: 10px; }
  .footer > span { grid-row: 2; grid-column: 1 / -1; }
  .footer .brand { width: min(100%, 150px); }
  .footer-contact { min-height: 44px; }
}

@media (max-width: 380px) {
  .skill h3 { font-size: clamp(13px, 4.2vw, 15px); }
  .outline-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) and (max-height: 500px) and (orientation: landscape) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; min-height: 56px; }
  .site-header .brand { width: clamp(162px, 28vw, 210px); }
  .primary-nav { display: none; }
  .menu-panel { max-height: calc(100svh - 56px); overflow-y: auto; }
  .hero-inner { display: grid; grid-template-columns: minmax(0, 64%) minmax(0, 1fr); min-height: 0; padding: 70px 0 24px; }
  .hero-art img { object-position: right 32%; }
  .hero-art::after { background: linear-gradient(90deg, #090809ed, #090809ad 43%, transparent 72%); }
  .hero-title { font-size: clamp(40px, 7.4vw, 63px); }
  .hero-experience { font-size: clamp(22px, 3.8vw, 29px); }
  .hero-copy { font-size: clamp(14px, 2.65vw, 20px); }
  .hero-actions { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
