@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --bg: #14100d;
  --surface: #1d1712;
  --surface-2: #262019;
  --text: #efe6d8;
  --text-muted: #b0a190;
  --accent: #e29a55;
  --accent-2: #c06a3b;
  --border: #3b3128;
  --ink: #0c0906;
  --font-display: "Fraunces", serif;
  --font-body: "Source Serif 4", serif;
  --fs-display: clamp(2.6rem, 6vw, 4.4rem);
  --fs-h1: clamp(2.2rem, 5vw, 3.6rem);
  --fs-h2: clamp(1.7rem, 3.6vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);
  --fs-body: 1.05rem;
  --fs-small: 0.92rem;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 28px;
  --space-lg: 56px;
  --space-xl: clamp(64px, 9vw, 110px);
  --radius-sm: 3px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.5);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}
main {
  flex: 1 0 auto;
}
img {
  max-width: 100%;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 600;
  color: var(--text);
}
h1 {
  font-size: var(--fs-h1);
  margin: var(--space-sm) 0 var(--space-md);
}
h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}
h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
}
p {
  margin-bottom: var(--space-sm);
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.overline {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.overline::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.overline.light {
  color: #f0d9b8;
}
.overline.light::before {
  background: #f0d9b8;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 62ch;
}
.light {
  color: #f6ead6;
}
.section {
  padding: var(--space-xl) 0;
  position: relative;
}
.surface {
  background: var(--surface);
}
.surface-2 {
  background: var(--surface-2);
}
.sec-head {
  max-width: 720px;
  margin-bottom: var(--space-lg);
}
.sec-more {
  margin-top: var(--space-lg);
  text-align: center;
}
.btn, .btn-ghost, .btn-light {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  min-height: 44px;
}
.btn {
  background: var(--accent);
  color: #241509;
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(226, 154, 85, 0.28);
  text-decoration: none;
}
.btn-ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(226, 154, 85, 0.1);
  text-decoration: none;
}
.btn-light {
  background: #f6ead6;
  color: #7a3d1d;
}
.btn-light:hover {
  transform: translateY(-3px);
  text-decoration: none;
}
.chip {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-sm);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.badge .ic {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nailed {
  position: relative;
}
.nailed::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4e3c8, #8d7a63 55%, #3a2c1e);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.tilt-l {
  --rot: -1.4deg;
}
.tilt-r {
  --rot: 1.2deg;
}
.shift-d {
  margin-top: 26px;
}
.shift-u {
  margin-top: -14px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(226, 154, 85, 0.45);
}
.card-ic {
  width: 42px;
  height: 42px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: var(--space-sm);
}
.tool-ghost {
  position: absolute;
  stroke: var(--text);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.07;
  pointer-events: none;
}
.gh-1 { width: 150px; height: 150px; right: 4%; top: 12%; transform: rotate(-14deg); }
.gh-2 { width: 120px; height: 120px; left: 3%; bottom: 10%; transform: rotate(9deg); }
.gp-1 { width: 140px; height: 140px; right: 6%; top: 18%; transform: rotate(-10deg); }
.gp-2 { width: 110px; height: 110px; left: 5%; bottom: 14%; transform: rotate(12deg); }
.gs-1 { width: 130px; height: 130px; right: 8%; bottom: 8%; transform: rotate(18deg); }
.gb-1 { width: 150px; height: 150px; right: 5%; top: 14%; stroke: #f6ead6; opacity: 0.16; transform: rotate(-12deg); }
.gb-2 { width: 120px; height: 120px; left: 4%; bottom: 12%; stroke: #f6ead6; opacity: 0.16; transform: rotate(10deg); }
.gc-1 { width: 130px; height: 130px; right: 3%; bottom: 6%; transform: rotate(-8deg); }
.texture-plaster {
  background-image: radial-gradient(rgba(239, 230, 216, 0.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
}
.texture-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(239, 230, 216, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 230, 216, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 70%);
  pointer-events: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 16, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-line1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
}
.main-nav ul {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}
.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 2px;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}
.main-nav a.active {
  color: var(--accent);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.hero {
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -180px;
  background: radial-gradient(circle, rgba(226, 154, 85, 0.14), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 700;
}
.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin: var(--space-md) 0;
}
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}
.hero-stats {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: var(--space-sm);
}
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  display: block;
}
.hero-stats span {
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.hero-figure {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 12px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 22px -14px -14px 22px;
  border: 2px solid var(--accent-2);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.6;
}
.hero-figure img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
}
.fig-cap {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 10px;
  font-style: italic;
}
.float-chip {
  position: absolute;
  background: var(--ink);
  color: #f0d9b8;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
}
.fc-1 { top: 8%; left: -26px; }
.fc-2 { bottom: 18%; right: -20px; animation-delay: 2.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  align-items: start;
}
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.dict-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  align-items: start;
}
.dict-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dict-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: var(--shadow-md);
}
.dict-term {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.brick-wall {
  position: relative;
  background-color: #5c3122;
  background-image:
    repeating-linear-gradient(0deg, rgba(233, 222, 206, 0.12) 0 2px, transparent 2px 36px),
    linear-gradient(335deg, rgba(0, 0, 0, 0.35) 22px, transparent 22px),
    linear-gradient(155deg, rgba(0, 0, 0, 0.35) 22px, transparent 22px),
    linear-gradient(335deg, rgba(0, 0, 0, 0.35) 22px, transparent 22px),
    linear-gradient(155deg, rgba(0, 0, 0, 0.35) 22px, transparent 22px);
  background-size: auto, 58px 58px, 58px 58px, 58px 58px, 58px 58px;
  background-position: 0 0, 0 2px, 4px 35px, 29px 31px, 34px 6px;
  overflow: hidden;
}
.brick-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(12, 9, 6, 0.55), rgba(12, 9, 6, 0.74));
}
.brick-inner {
  position: relative;
  z-index: 1;
}
.brick-inner h2 {
  margin-bottom: var(--space-lg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.stat {
  border-left: 2px solid rgba(246, 234, 214, 0.4);
  padding-left: var(--space-sm);
}
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  display: block;
  color: #f6ead6;
}
.stat span {
  color: #d8c3a8;
  font-size: var(--fs-small);
}
.brick-cta {
  text-align: center;
  max-width: 760px;
}
.brick-cta p {
  color: #d8c3a8;
}
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}
.timeline-4 {
  grid-template-columns: repeat(4, 1fr);
}
.timeline li {
  position: relative;
  padding-top: var(--space-md);
  border-top: 2px solid var(--border);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--bg);
}
.timeline strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
}
.split-fig, .project-fig {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.split-fig img, .project-fig img, .side-fig img, .svc-fig img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
}
.layer-list {
  list-style: none;
  margin-top: var(--space-md);
  display: grid;
  gap: var(--space-md);
}
.layer-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm);
  align-items: start;
}
.layer-no {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  border: 1px solid var(--accent-2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
}
.project {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-lg);
  align-items: center;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}
.review-grid .card p {
  font-style: italic;
}
.review-name {
  display: block;
  margin-top: var(--space-sm);
  font-weight: 600;
  color: var(--accent);
  font-size: var(--fs-small);
}
.review-note {
  margin-top: var(--space-md);
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-style: italic;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-lg);
  align-items: start;
}
.form {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.form-row label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.req {
  color: var(--accent);
}
.form input, .form select, .form textarea {
  width: 100%;
  max-width: 100%;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226, 154, 85, 0.18);
}
.form .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.form .check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--accent);
}
.form .check label {
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--fs-small);
  margin: 0;
}
.form button {
  justify-self: start;
  margin-top: var(--space-xs);
  max-width: 100%;
}
.contact-side {
  display: grid;
  gap: var(--space-md);
}
.side-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--rot, 0deg));
}
.side-card h3 {
  color: var(--accent);
}
.side-name {
  font-weight: 600;
}
.side-note {
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-style: italic;
}
.site-footer {
  background: var(--ink);
  color: #b8a894;
  margin-top: auto;
  padding: var(--space-lg) 0 var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(184, 168, 148, 0.2);
}
.footer-brand p {
  margin-top: var(--space-sm);
  max-width: 30ch;
}
.footer-grid h3 {
  font-size: 1rem;
  color: #f6ead6;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-sm);
}
.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer-grid a {
  color: #b8a894;
  font-size: 0.95rem;
}
.footer-grid a:hover {
  color: #f6ead6;
}
.footer-legal-name {
  font-weight: 600;
  color: #f6ead6;
}
.footer-bottom {
  padding-top: var(--space-md);
}
.disclaimer {
  font-size: 0.88rem;
  color: #8a7c6a;
  max-width: 900px;
}
.copyright {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: #b8a894;
}
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  box-shadow: var(--shadow-md);
  z-index: 60;
}
.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.svc-rows {
  display: grid;
  gap: var(--space-xl);
}
.svc-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
}
.svc-row.rev .svc-copy {
  order: 2;
}
.svc-fig {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.tick-list {
  list-style: none;
  margin: var(--space-sm) 0;
  display: grid;
  gap: 10px;
}
.tick-list li {
  padding-left: 28px;
  position: relative;
}
.tick-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 5px;
}
.q-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.q-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.q-table th, .q-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-muted);
}
.q-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
}
.q-table tr:last-child td {
  border-bottom: none;
}
.q-table td strong {
  font-family: var(--font-display);
  color: var(--accent);
}
.table-note {
  margin-top: var(--space-md);
  font-style: italic;
  color: var(--text-muted);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  align-items: start;
}
.fact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent-2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fact-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: var(--shadow-md);
}
.fact-card strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.faq-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
  transform: rotate(var(--rot, 0deg));
}
.feature-no {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
}
.feature-body h2 {
  margin-bottom: var(--space-sm);
}
.scatter {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-md);
  align-items: start;
}
.note {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}
.note:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-md);
}
.note-a {
  grid-column: span 5;
  background: var(--surface);
  border: 1px solid var(--border);
}
.note-b {
  grid-column: span 4;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent-2);
}
.note-c {
  grid-column: span 3;
  background: var(--surface);
  border: 1px dashed var(--accent-2);
}
.note-brick {
  grid-column: span 7;
  background-color: #5c3122;
  background-image:
    repeating-linear-gradient(0deg, rgba(233, 222, 206, 0.12) 0 2px, transparent 2px 36px),
    linear-gradient(335deg, rgba(0, 0, 0, 0.35) 22px, transparent 22px),
    linear-gradient(155deg, rgba(0, 0, 0, 0.35) 22px, transparent 22px);
  background-size: auto, 58px 58px, 58px 58px;
  background-position: 0 0, 0 2px, 4px 35px;
  color: #f0d9b8;
  border: 1px solid rgba(240, 217, 184, 0.3);
}
.note-brick h3 {
  color: #f6ead6;
}
.note-brick p {
  color: #e6cfae;
}
.note-brick .chip {
  background: rgba(12, 9, 6, 0.4);
  border-color: rgba(240, 217, 184, 0.35);
  color: #f0d9b8;
}
.note-brick .btn-ghost {
  color: #f6ead6;
  border-color: #f6ead6;
}
.faq-cta {
  margin-top: var(--space-lg);
  text-align: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--rot, 0deg));
}
.faq-cta p {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto var(--space-md);
}
.acc-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  padding: 4px 0 10px;
  cursor: pointer;
  min-height: 44px;
}
.acc-ic {
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}
.acc-item.open .acc-ic {
  transform: rotate(45deg);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.acc-body p {
  padding-bottom: 6px;
  color: var(--text-muted);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  align-items: start;
}
.cal-time {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.hack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}
.thanks-section {
  min-height: 70vh;
  display: grid;
  place-items: center;
}
.thanks-wrap {
  max-width: 820px;
  width: 100%;
  min-width: 0;
}
.thanks-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
  text-align: center;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  transform: none;
}
.thanks-ic {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #241509;
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}
.thanks-card .overline {
  justify-content: center;
}
.thanks-card .overline::before {
  display: none;
}
.thanks-line {
  font-size: 1.2rem;
  color: var(--text-muted);
}
.thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  text-align: left;
}
.thanks-steps strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  display: block;
}
.thanks-contact {
  border-top: 1px solid var(--border);
  padding-top: var(--space-md);
  margin-bottom: var(--space-md);
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  gap: var(--space-md);
  word-break: break-word;
}
[data-aos="fade-right"]:not(.aos-animate) {
  transform: translate3d(-32px, 0, 0) !important;
}
[data-aos="fade-left"]:not(.aos-animate) {
  transform: translate3d(32px, 0, 0) !important;
}
[data-aos="zoom-in"]:not(.aos-animate) {
  transform: scale(0.95) !important;
}
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.legal-card h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}
@media (max-width: 1020px) {
  .svc-grid, .dict-grid, .scatter { grid-template-columns: repeat(6, 1fr); }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 6; }
  .note-a, .note-b, .note-c, .note-brick { grid-column: span 6; }
  .stats-grid, .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline, .timeline-4 { grid-template-columns: repeat(2, 1fr); }
  .review-grid, .value-grid, .hack-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shift-u { margin-top: 0; }
}
@media (max-width: 900px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .hero-grid > *,
  .split > *,
  .project > *,
  .contact-grid > *,
  .svc-row > * {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: var(--space-sm) 4%;
  }
  .main-nav a {
    display: block;
    padding: 14px 4px;
  }
  .hero-grid, .split, .project, .contact-grid, .svc-row { grid-template-columns: 1fr; }
  .svc-row.rev .svc-copy { order: 0; }
  .hero-figure { max-width: 520px; margin: 0 auto; }
  .faq-feature { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .q-table-wrap {
    overflow-x: visible;
  }
  .q-table {
    min-width: 0;
    display: block;
  }
  .q-table thead {
    display: none;
  }
  .q-table tr {
    display: grid;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .q-table td {
    display: block;
    padding: 0;
    border: none;
  }
}
@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .logo {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
  }
  .logo-line1 {
    word-break: break-all;
    min-width: 0;
  }
  .footer-col,
  .footer-brand,
  .footer-contact,
  .side-card {
    word-break: break-all;
  }
  .page-hero,
  .page-hero .lead,
  .page-hero h1 {
    word-break: break-all;
  }
  .thanks-section {
    min-height: 0;
    width: 100%;
    max-width: 100%;
  }
  .thanks-wrap {
    max-width: 100%;
  }
  .thanks-card {
    padding: 20px 14px;
    transform: none;
    --rot: 0deg;
  }
  .thanks-card h1 {
    font-size: clamp(1.4rem, 7vw, 2rem);
    word-break: break-word;
  }
  .thanks-line,
  .thanks-contact,
  .thanks-contact a {
    word-break: break-all;
  }
  .thanks-steps {
    gap: 12px;
  }
  .hero-figure {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .float-chip {
    position: static;
    max-width: 100%;
    animation: none;
    border-radius: var(--radius-sm);
  }
  .fc-1, .fc-2 {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
}
@media (max-width: 620px) {
  .review-grid, .value-grid, .hack-grid, .cal-grid, .stats-grid, .fact-grid, .timeline, .timeline-4, .thanks-steps { grid-template-columns: 1fr; }
  .svc-grid, .dict-grid, .scatter { grid-template-columns: 1fr; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 1; }
  .note-a, .note-b, .note-c, .note-brick { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 0.98rem; }
  .disclaimer { font-size: 0.85rem; }
  .shift-d, .shift-u { margin-top: 0; }
  .tilt-l, .tilt-r { --rot: 0deg; }
}
@media (max-width: 480px) {
  .container {
    width: min(1180px, 94%);
  }
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .form input, .form select, .form textarea {
    font-size: 0.95rem;
    padding: 12px;
  }
  .logo-line1 {
    font-size: 1.1rem;
  }
  .legal-content {
    padding: 24px 12px;
  }
  .thanks-card {
    padding: 16px 12px;
  }
  .thanks-card .btn {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-chip { animation: none; }
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .card, .btn, .dict-card, .fact-card, .note { transition: none; }
}