:root {
  --paper: #f5f4ee;
  --paper-deep: #e9eae2;
  --ink: #18332e;
  --ink-deep: #112620;
  --muted: #596d65;
  --line: #cdd1c8;
  --orange: #d46e4c;
  --white: #fffefa;
  --display: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--display); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
em { font-style: normal; }
::selection { background: #e9bc91; color: var(--ink-deep); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.container { width: min(calc(100% - 96px), 1400px); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 18px; z-index: 100; padding: 12px 18px; background: var(--orange); color: var(--ink-deep); font-weight: 700; }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 35px; min-height: 103px; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand-mark, .footer-brand { font-size: 28px; font-weight: 700; letter-spacing: -.095em; line-height: 1; }
.brand-mark span, .footer-brand span { color: var(--orange); }
.brand-name { padding-left: 12px; border-left: 1px solid var(--line); font-size: 12px; font-weight: 700; line-height: 1.18; letter-spacing: -.025em; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 50px); }
.main-nav a { position: relative; padding-block: 10px; font-size: 13px; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--orange); transition: right 240ms var(--ease); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.language-switch { display: inline-flex; align-items: center; justify-self: end; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.language-switch a { display: grid; place-items: center; min-width: 42px; min-height: 42px; border-radius: 50%; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.language-switch a[aria-current="page"] { background: var(--ink); color: var(--white); }
.language-switch a:not([aria-current="page"]):hover { color: #a84d32; }

.hero { overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr); gap: clamp(42px, 6vw, 110px); align-items: center; min-height: 760px; padding-block: 78px 64px; }
.hero-copy { position: relative; z-index: 1; padding-block: 35px; animation: enter-up 750ms var(--ease) both; }
.eyebrow, .section-index, .project-kicker, .visual-top, .visual-bottom, .visual-card-top, .visual-card-bottom, .project-domain, .label-index, .road-float span, .road-float small, .about-signature, .hero-foot { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #8b4b36; }
.eyebrow-line { width: 28px; height: 2px; background: var(--orange); }
.hero h1 { margin-top: 29px; font-size: clamp(73px, 7.1vw, 118px); font-weight: 600; letter-spacing: -.085em; line-height: .99; white-space: nowrap; }
.hero h1 em, .section-heading h2 em, .about-copy h2 em, .contact-grid h2 em { font-family: var(--serif); font-size: 1.12em; font-weight: 400; font-style: italic; letter-spacing: -.055em; }
.hero h1 em { color: var(--orange); }
.hero-lead { max-width: 565px; margin-top: 35px; color: #425950; font-size: clamp(16px, 1.32vw, 19px); line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 58px; margin-top: 37px; padding: 15px 20px; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; transition: color 260ms ease, background 260ms ease, transform 260ms var(--ease), box-shadow 260ms ease; }
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #254c40; transform: translateY(-3px); box-shadow: 7px 7px 0 #d7ddd4; }
.hero-visual { position: relative; width: 100%; aspect-ratio: 1.04; min-height: 550px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 51%, rgba(242,229,205,.68), transparent 38%), repeating-linear-gradient(0deg, transparent 0 52px, rgba(24,51,46,.045) 53px 54px), repeating-linear-gradient(90deg, transparent 0 52px, rgba(24,51,46,.045) 53px 54px), #eeeee7; animation: enter-up 750ms 100ms var(--ease) both; }
.hero-visual::before { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(24,51,46,.12); pointer-events: none; }
.visual-top { position: absolute; z-index: 2; top: 42px; left: 44px; right: 44px; display: flex; justify-content: space-between; gap: 15px; color: #50695c; }
.path-art { position: absolute; inset: 7% 1% 0; width: 98%; height: 93%; }
.diagram-label { position: absolute; z-index: 2; top: 25%; display: grid; gap: 7px; min-width: 145px; padding: 14px 17px; border: 1px solid var(--line); background: var(--white); box-shadow: 6px 7px 0 rgba(24,51,46,.06); }
.diagram-road { left: 8%; }
.diagram-maze { right: 5%; }
.label-index { color: #76543f; font-size: 9px; }
.diagram-label strong { font-size: 20px; line-height: 1.04; letter-spacing: -.045em; }
.diagram-road strong { color: #194b3c; }
.diagram-maze strong { color: #58418b; }
.visual-bottom { position: absolute; left: 44px; right: 44px; bottom: 31px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #50695c; font-size: 9px; }
.visual-bottom span { color: var(--orange); font-size: 18px; line-height: 0; }
.hero-foot { display: flex; align-items: center; gap: 22px; padding-bottom: 30px; color: #75877e; font-size: 10px; }
.foot-line { height: 1px; flex: 1; background: var(--line); }

.section-pad { padding-block: clamp(100px, 10vw, 160px); }
.projects-section { background: var(--paper-deep); }
.section-heading { display: grid; grid-template-columns: minmax(200px, .42fr) 1fr; align-items: start; gap: 55px; margin-bottom: 74px; }
.section-index { padding-top: 12px; color: #97462f; }
.section-heading h2, .about-copy h2, .contact-grid h2 { font-size: clamp(56px, 6vw, 92px); font-weight: 600; letter-spacing: -.075em; line-height: 1.03; }
.section-heading h2 em { color: #ad6244; }
.section-heading > div > p { max-width: 440px; margin-top: 21px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.project { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 560px; border-top: 1px solid #b6beb4; }
.project + .project { margin-top: 115px; }
.project-visual { position: relative; min-height: 540px; overflow: hidden; }
.roadtab-visual { background: radial-gradient(circle at 20% 20%, #e2ede3, transparent 42%), repeating-linear-gradient(0deg, transparent 0 61px, rgba(25,75,60,.055) 62px 63px), repeating-linear-gradient(90deg, transparent 0 61px, rgba(25,75,60,.055) 62px 63px), #d2e1d5; }
.visual-card-top { position: absolute; z-index: 2; top: 34px; left: 35px; right: 35px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.visual-card-top img { width: 57px; height: 57px; border-radius: 12px; }
.roadtab-visual .visual-card-top { color: #3e6656; }
.road-illustration { position: absolute; left: -9%; top: 19%; width: 116%; height: 73%; transition: transform 700ms var(--ease); }
.road-float { position: absolute; z-index: 2; right: 8%; top: 29%; display: grid; gap: 9px; width: min(280px, 42%); min-height: 150px; padding: 19px 20px; border: 1px solid #194b3c; background: #fffdf6; box-shadow: 9px 10px 0 rgba(25,75,60,.16); transform: rotate(4deg); transition: transform 600ms var(--ease); }
.road-float span { color: #4d6b5b; font-size: 9px; }
.road-float strong { font-size: clamp(19px, 2vw, 28px); line-height: 1.08; letter-spacing: -.065em; }
.road-float small { align-self: end; color: #4d6b5b; font-size: 9px; line-height: 1.35; }
.visual-card-bottom { position: absolute; z-index: 2; left: 35px; right: 35px; bottom: 26px; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid rgba(25,75,60,.35); }
.visual-card-bottom span:last-child { font-size: 22px; font-weight: 400; line-height: 1; }
.roadtab-visual .visual-card-bottom { color: #335f4e; }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 59px clamp(40px, 6vw, 95px) 30px; }
.project-kicker { display: flex; align-items: center; gap: 10px; color: #4d6255; white-space: nowrap; }
.project-number { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #a8b7a9; border-radius: 50%; color: var(--ink); letter-spacing: 0; }
.project-copy h3 { margin-top: 40px; font-size: clamp(54px, 5vw, 82px); font-weight: 600; letter-spacing: -.085em; line-height: .99; }
.title-dot { color: var(--orange); }
.project-description { max-width: 470px; margin-top: 27px; color: #40584e; font-size: 17px; line-height: 1.72; }
.project-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 51px; margin-top: 32px; padding: 0 0 7px; border-bottom: 2px solid var(--ink); font-size: 14px; font-weight: 700; transition: color 220ms ease, gap 220ms var(--ease), border-color 220ms ease; }
.project-link span { font-size: 23px; font-weight: 400; }
.project-link:hover { gap: 44px; color: #ad5235; border-color: #ad5235; }
.project-domain { margin-top: auto; padding-top: 60px; color: #4d6255; font-size: 10px; }
.project-visual:hover .road-illustration, .project:focus-within .road-illustration { transform: translateX(14px); }
.project-visual:hover .road-float, .project:focus-within .road-float { transform: translateY(-8px) rotate(1deg); }
.project-maze { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.project-maze .project-copy { order: 1; padding-left: clamp(0px, 3vw, 42px); }
.project-maze .project-visual { order: 2; }
.maze-visual { background: radial-gradient(circle at 55% 38%, #4a306c 0, #271a3d 52%, #191327 100%); color: #eee9f5; }
.maze-visual::before { content: ""; position: absolute; inset: 0; opacity: .5; background: repeating-linear-gradient(90deg, transparent 0 54px, rgba(255,255,255,.045) 55px 56px); pointer-events: none; }
.maze-visual .visual-card-top { color: #d8c1f5; }
.maze-board { position: absolute; left: 50%; top: 51%; width: min(69%, 410px); aspect-ratio: 1; padding: 14px; border: 1px solid rgba(216,193,245,.34); background: rgba(34,20,54,.55); box-shadow: 17px 18px 0 rgba(162,117,215,.12); transform: translate(-50%, -50%) rotate(-5deg); transition: transform 650ms var(--ease); }
.maze-board img { width: 100%; height: 100%; }
.maze-visual .visual-card-bottom { border-color: rgba(216,193,245,.45); color: #d8c1f5; }
.project-visual:hover .maze-board, .project:focus-within .maze-board { transform: translate(-50%, -50%) rotate(0); }

.about-section { position: relative; overflow: hidden; padding-block: clamp(110px, 12vw, 190px); background: var(--ink); color: var(--white); }
.about-section::before { content: ""; position: absolute; width: 670px; height: 670px; right: -250px; top: -330px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 72px rgba(255,255,255,.025), 0 0 0 145px rgba(255,255,255,.02); pointer-events: none; }
.about-grid, .contact-grid { position: relative; display: grid; grid-template-columns: minmax(200px, .42fr) 1fr; gap: 55px; }
.about-grid .section-index { color: #ddae91; }
.about-copy h2 { max-width: 900px; }
.about-copy h2 em { color: #e8b198; }
.about-copy > p { max-width: 700px; margin-top: 40px; color: #cbd9d1; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.7; }
.about-signature { display: inline-flex; align-items: center; gap: 15px; margin-top: 85px; padding-top: 18px; border-top: 1px solid #678075; color: #a8c4b2; }
.about-signature span { color: #e8b198; font-size: 22px; line-height: .5; }
.contact-section { background: var(--paper); }
.contact-grid h2 em { color: var(--orange); }
.contact-grid > div > p { max-width: 520px; margin-top: 25px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 810px; margin-top: 55px; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: clamp(19px, 2.5vw, 34px); font-weight: 600; letter-spacing: -.05em; overflow-wrap: anywhere; transition: color 220ms ease; }
.contact-link span { flex: none; font-size: 32px; font-weight: 400; }
.contact-link:hover { color: #a95034; }
.site-footer { border-top: 1px solid #466058; background: var(--ink-deep); color: #edf3ee; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px 40px; min-height: 110px; padding-block: 25px; }
.footer-inner p { color: #b3c4b9; font-size: 12px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 18px 25px; }
.footer-inner nav a, .back-top { font-size: 12px; font-weight: 700; }
.footer-inner nav a:hover, .back-top:hover { color: #f0b69e; }
.not-found { display: flex; align-items: center; min-height: min(780px, 85svh); padding-block: 100px; }
.not-found .section-index { padding: 0; }
.not-found h1 { margin-top: 25px; font-size: clamp(68px, 9vw, 128px); font-weight: 600; letter-spacing: -.085em; line-height: .97; }
.not-found h1 em { color: var(--orange); font-family: var(--serif); font-size: 1.1em; font-style: italic; font-weight: 400; letter-spacing: -.055em; }
.not-found-inner > p:not(.section-index) { max-width: 550px; margin-top: 27px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.not-found-tr { display: grid; gap: 9px; max-width: 550px; margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.not-found-tr a { color: #a95034; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@keyframes enter-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1180px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr); gap: 38px; }
  .hero h1 { font-size: clamp(66px, 6.8vw, 94px); }
  .hero-visual { min-height: 500px; }
  .diagram-label { min-width: 125px; padding: 11px 13px; }
  .diagram-label strong { font-size: 17px; }
  .project-copy { padding-inline: 48px; }
  .project-maze .project-copy { padding-left: 0; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 56px), 740px); }
  .hero-layout { grid-template-columns: 1fr; gap: 25px; min-height: 0; padding-block: 85px 45px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(70px, 10vw, 102px); }
  .hero-visual { width: min(100%, 680px); min-height: 0; aspect-ratio: 1.16; justify-self: center; }
  .section-heading, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 25px; }
  .section-heading { margin-bottom: 55px; }
  .project, .project-maze { grid-template-columns: 1fr; }
  .project-visual, .project-maze .project-visual { order: 1; min-height: 520px; }
  .project-copy, .project-maze .project-copy { order: 2; min-height: 420px; padding: 45px 0 0; }
  .project + .project { margin-top: 95px; }
  .project-domain { padding-top: 35px; }
  .about-signature { margin-top: 65px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 15px; min-height: 0; padding-block: 15px 11px; }
  .brand-mark { font-size: 25px; }
  .brand-name { font-size: 11px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 15px; margin-top: 15px; padding-top: 9px; border-top: 1px solid var(--line); }
  .main-nav a { font-size: 12px; }
  .language-switch { grid-column: 2; grid-row: 1; }
  .language-switch a { min-width: 39px; min-height: 39px; }
  .hero-layout { padding-top: 67px; padding-bottom: 35px; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .hero h1 { margin-top: 23px; font-size: clamp(55px, 11vw, 75px); white-space: normal; }
  .hero-lead { margin-top: 27px; font-size: 16px; }
  .button { margin-top: 29px; }
  .hero-visual { aspect-ratio: .93; }
  .hero-visual::before { inset: 15px; }
  .visual-top { top: 28px; left: 28px; right: 28px; font-size: 8px; }
  .diagram-label { top: 23%; min-width: 106px; padding: 9px 10px; }
  .diagram-road { left: 6%; }
  .diagram-maze { right: 5%; }
  .diagram-label strong { font-size: 15px; }
  .label-index { font-size: 8px; }
  .visual-bottom { left: 20px; right: 20px; bottom: 19px; gap: 7px; font-size: 7px; letter-spacing: .07em; }
  .visual-bottom span { font-size: 14px; }
  .hero-foot { gap: 12px; font-size: 8px; }
  .section-pad { padding-block: 90px; }
  .section-heading h2, .about-copy h2, .contact-grid h2 { font-size: clamp(48px, 10vw, 70px); }
  .section-heading > div > p { font-size: 15px; }
  .project-visual, .project-maze .project-visual { min-height: 400px; }
  .visual-card-top { top: 22px; left: 22px; right: 22px; font-size: 8px; }
  .visual-card-top img { width: 47px; height: 47px; }
  .road-illustration { top: 18%; height: 72%; }
  .road-float { right: 8%; top: 33%; width: min(220px, 51%); min-height: 122px; padding: 12px; box-shadow: 5px 6px 0 rgba(25,75,60,.16); }
  .road-float strong { font-size: clamp(17px, 4.3vw, 23px); }
  .road-float small, .road-float span { font-size: 7px; }
  .visual-card-bottom { left: 22px; right: 22px; bottom: 17px; font-size: 8px; }
  .maze-board { width: min(66%, 310px); padding: 9px; }
  .project-copy, .project-maze .project-copy { min-height: 0; padding-top: 36px; }
  .project-copy h3 { margin-top: 28px; font-size: clamp(54px, 11vw, 72px); }
  .project-description { margin-top: 22px; font-size: 16px; }
  .project-domain { padding-top: 40px; }
  .about-section { padding-block: 100px; }
  .about-copy > p { margin-top: 28px; font-size: 17px; }
  .contact-link { margin-top: 36px; font-size: clamp(18px, 4.7vw, 26px); }
  .footer-inner { align-items: flex-start; gap: 21px 35px; }
  .footer-inner p { order: 4; width: 100%; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 52px; }
  .diagram-label { top: 21%; min-width: 93px; }
  .diagram-label strong { font-size: 13px; }
  .project-kicker { font-size: 9px; letter-spacing: .09em; }
  .footer-inner nav { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
