:root {
  --ink: #29312d;
  --muted: #505955;
  --line: #dedfdb;
  --soft: #f6f7f5;
  --navy: #193d4b;
  --accent: #23768c;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.06em;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #39a1ba;
  outline-offset: 6px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1120px, 86%);
  margin-inline: auto;
}
.section {
  padding-block: 110px;
}
.skip {
  position: fixed;
  top: 0;
  left: 16px;
  transform: translateY(-150%);
  z-index: 100;
  background: white;
  color: #222;
  padding: 8px 20px;
}
.skip:focus {
  transform: translateY(0);
}
.home-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.8%;
  gap: 32px;
  color: white;
  background: linear-gradient(#0003, transparent);
  transition:
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.brand {
  flex: 0 0 240px;
}
.brand img {
  width: 240px;
  height: auto;
  filter: brightness(0) invert(1);
}
.home-header.scrolled {
  background: #fffffff5;
  color: var(--ink);
  box-shadow: 0 1px 0 #00000008;
}
.home-header.scrolled .brand img {
  filter: none;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.desktop-nav a {
  position: relative;
}
.desktop-nav a:after {
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s;
}
.desktop-nav a:hover:after {
  transform: scaleX(1);
}
.menu-toggle {
  display: none;
}
.hero {
  height: 100svh;
  min-height: 620px;
  max-height: 1120px;
  position: relative;
  background: #48544e;
  color: #fff;
  isolation: isolate;
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-image {
  object-position: center 55%;
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 35%, #10232b45),
    linear-gradient(0deg, #0b202852, transparent 60%);
}
.hero-copy {
  position: absolute;
  right: 8%;
  bottom: 17%;
  text-shadow: 0 2px 16px #14282455;
}
.hero-copy p {
  font-size: 16px;
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}
.hero-copy h1 {
  font-size: clamp(36px, 3.6vw, 62px);
  line-height: 1.8;
  letter-spacing: 0.17em;
}
.hero-copy > span {
  display: block;
  font-size: 15px;
  letter-spacing: 0.16em;
  margin-top: 28px;
}
.hero-bottom {
  position: absolute;
  bottom: 35px;
  left: 4%;
  right: 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scroll-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 26px;
}
.scroll-label span {
  font-size: 25px;
}
.hero-controls {
  display: flex;
  gap: 20px;
}
.hero-controls button {
  background: none;
  color: white;
  border: 0;
  border-bottom: 1px solid #ffffff66;
  padding: 10px 8px;
  min-width: 46px;
  font: 14px var(--sans);
}
.hero-controls button[aria-pressed="true"] {
  border-bottom: 3px solid white;
}
.home-intro {
  padding: 24px 4%;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}
.home-intro > span {
  font-size: 12px;
  letter-spacing: 0.17em;
  color: var(--muted);
}
.home-intro .top-cross-links { margin-left:auto; }
.home-intro a {
  margin-left: 0;
  font-size: 13px;
}
.home-intro a span {
  padding-left: 25px;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 25px;
}
.concept {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  padding-block: 145px;
}
.concept-title h2 {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin-inline: auto;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.9;
  letter-spacing: 0.13em;
}
.concept-rule {
  display: block;
  width: 65px;
  height: 1px;
  background: #969f98;
  margin-top: 38px;
  margin-inline: auto;
}
.concept-title {
  text-align: center;
}
.concept {
  align-items: center;
}
.concept-copy h3 {
  font-size: 23px;
  line-height: 2;
  margin-bottom: 25px;
}
.concept-copy p {
  line-height: 2.5;
  margin-bottom: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 65px;
  font-size: 14px;
  border-bottom: 1px solid #999;
  padding: 10px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 52px;
}
.english {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.3;
  color: #939b95;
  display: block;
  margin-bottom: 18px;
}
.section-title h2 {
  font-size: 22px;
  letter-spacing: 0.13em;
}
.section-title p {
  font-size: 15px;
  margin-top: 20px;
}
.works {
  padding-top: 0;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
}
.work-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
}
.work-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.7s;
}
.work:hover img {
  transform: scale(1.035);
}
.work-label {
  position: absolute;
  bottom: 28px;
  left: 7%;
  padding: 8px 22px;
  background: #fffffff2;
  border: 1px solid #6f7570;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.work-caption {
  position: relative;
  padding: 25px 7%;
}
.work-caption small {
  font: 12px var(--sans);
  color: var(--muted);
  letter-spacing: 0.09em;
}
.work-caption h3 {
  font-size: 17px;
  margin-top: 12px;
  padding-right: 18px;
}
.work-caption > span {
  position: absolute;
  right: 6%;
  bottom: 24px;
  font-size: 22px;
}
.center-link {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}
.round-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  min-width: 260px;
  max-width: 100%;
  padding: 11px 26px;
  border: 1px solid #777e78;
  border-radius: 0;
  font-size: 14px;
  line-height: 1.7;
  transition:
    background 0.2s,
    color 0.2s;
}
.round-link:hover {
  background: var(--ink);
  color: white;
}
.round-link span {
  font-size: 20px;
}
.feature-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 8%;
  padding-right: 7%;
}
.ryoon {
  background: #edf8fc;
}
.feature-photo {
  height: 590px;
}
.feature-photo img {
  height: 100%;
  width: 100%;
}
.feature-copy h2,
.planning h2,
.reform h2 {
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.9;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.feature-copy p:not(.eyebrow),
.planning-copy p:not(.eyebrow),
.reform p:not(.eyebrow) {
  line-height: 2.3;
  margin-bottom: 22px;
}
.feature-copy .round-link,
.planning .round-link,
.reform .round-link {
  margin-top: 14px;
}

.planning {
  display: grid;
  grid-template-columns: 0.92fr 1.1fr;
  align-items: center;
  gap: 10%;
  padding-block: 145px;
}
.planning-backdrop {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.planning-backdrop::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/images/free-design-floorplan.webp") no-repeat right -100px center / 1050px auto;
  opacity: 0.24;
  pointer-events: none;
}
.planning figure img {
  width: 100%;
  aspect-ratio: 4/4.4;
}
.planning figcaption {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 15px;
  letter-spacing: 0.02em;
  font-family: var(--sans);
  color: var(--muted);
}
.planning figcaption a {
  display: block;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.home-photo-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-block: 100px 70px;
}
.home-photo-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  color: #fff;
  background: #303b36;
}
.home-photo-link > img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.home-photo-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 20, 16, 0.54),
    rgba(10, 20, 16, 0.16) 60%,
    rgba(10, 20, 16, 0.4)
  );
}
.home-photo-link-title {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 28px;
  right: 20px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
.home-photo-link-title p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.2;
  letter-spacing: 0.025em;
}
.home-photo-link-title h2 {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
.home-photo-link-arrow {
  position: absolute;
  z-index: 1;
  right: 27px;
  bottom: 17px;
  font-size: 27px;
}
.home-photo-link-note {
  position: absolute;
  z-index: 1;
  bottom: 25px;
  left: 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.02em;
}
@media (hover: hover) {
  .home-photo-link:hover > img {
    transform: scale(1.025);
  }
}
@media (max-width: 700px) {
  .planning-backdrop::before {
    background-position: right -170px center;
    background-size: 650px auto;
    opacity: 0.15;
  }
  .home-photo-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 64px 36px;
  }
  .home-photo-link-title {
    top: 22px;
    left: 22px;
  }
  .home-photo-link-title p {
    font-size: 30px;
  }
  .home-photo-link-title h2 {
    font-size: 17px;
  }
  .home-photo-link-note {
    left: 22px;
    bottom: 22px;
    font-size: 10px;
  }
  .home-photo-link-arrow {
    right: 22px;
    bottom: 13px;
  }
}

/* A compact, reassuring route from first consultation to handover. */
.home-flow { background:var(--soft); }
.home-flow-layout { display:grid; grid-template-columns:minmax(260px,.72fr) minmax(0,1.6fr); gap:clamp(44px,7vw,100px); align-items:start; }
.home-flow-heading { position:sticky; top:120px; }
.home-flow-heading .eyebrow { color:var(--accent); }
.home-flow-heading h2 { margin:18px 0 24px; color:var(--navy); font-size:clamp(32px,4vw,54px); line-height:1.5; letter-spacing:.05em; }
.home-flow-heading h2 span { display:block; }
.home-flow-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 34px; margin:0; padding:0; list-style:none; counter-reset:none; }
.home-flow-list li { position:relative; min-height:170px; padding:28px 8px 28px 54px; border-top:1px solid var(--line); }
.home-flow-list li > span { position:absolute; left:0; top:31px; color:var(--accent); font:500 13px/1 Arial,sans-serif; letter-spacing:.08em; }
.home-flow-list h3 { margin:0 0 12px; color:var(--navy); font-size:19px; line-height:1.6; }
.home-flow-list p { margin:0; color:var(--muted); font-size:14px; line-height:1.9; }
.home-maintenance { background:#fff; }
.home-maintenance-heading .eyebrow { color:var(--accent); }
.home-maintenance-heading h2 { margin:18px 0 0; color:var(--navy); font-size:clamp(28px,3.4vw,40px); line-height:1.6; letter-spacing:.05em; }
.home-maintenance-plan { margin-top:40px; padding:30px 32px 28px; background:var(--soft); }
.home-maintenance-plan-heading { display:flex; flex-wrap:wrap; align-items:baseline; gap:10px 24px; }
.home-maintenance-plan-heading h3 { margin:0; color:var(--navy); font-size:20px; }
.home-maintenance-plan-heading > p { margin:0; color:var(--muted); font-size:13px; }
.home-maintenance-schedule { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:0; margin:24px 0 0; padding:0; list-style:none; }
.home-maintenance-schedule li { position:relative; display:grid; grid-template-rows:44px 16px auto; gap:12px; padding:0 6px; text-align:center; }
.home-maintenance-schedule li::before { content:""; position:absolute; top:64px; left:0; right:0; height:1px; background:var(--accent); opacity:.5; }
.home-maintenance-schedule li:first-child::before { left:50%; }
.home-maintenance-schedule li:last-child::before { right:50%; }
.home-maintenance-age { display:flex; align-items:baseline; align-self:center; justify-content:center; gap:4px; margin:0; color:var(--navy); font-size:14px; white-space:nowrap; }
.home-maintenance-age strong { color:var(--accent); font:400 32px/44px Georgia,"Times New Roman",serif; }
.is-handover .home-maintenance-age { font-size:16px; font-weight:500; }
.home-maintenance-dot { position:relative; width:12px; height:12px; margin:2px auto; border:2px solid var(--accent); border-radius:50%; background:var(--accent); }
.is-handover .home-maintenance-dot { background:var(--soft); }
.home-maintenance-event { margin:0; color:var(--muted); font-size:13px; }
.home-maintenance-consult { display:flex; align-items:center; justify-content:space-between; gap:24px 40px; margin-top:32px; }
.home-maintenance-consult p { margin:0; color:var(--ink); font-size:16px; line-height:2.3; }
.home-maintenance-consult .round-link { flex:none; margin:0; }
@media (max-width:800px) {
  .home-flow-layout { grid-template-columns:1fr; gap:38px; }
  .home-flow-heading { position:static; }
  .home-flow-heading h2 { font-size:32px; }
  .home-flow-list { grid-template-columns:1fr; }
  .home-flow-list li { min-height:0; padding:22px 4px 22px 48px; }
  .home-flow-list li > span { top:27px; }
  .home-flow-list h3 { font-size:17px; }
  .home-maintenance-plan { margin-top:30px; padding:24px 14px; }
  .home-maintenance-plan-heading { gap:6px; flex-direction:column; }
  .home-maintenance-plan-heading h3 { font-size:18px; }
  .home-maintenance-consult { flex-direction:column; align-items:flex-start; gap:20px; }
}
@media (max-width:600px) {
  .home-maintenance-schedule { grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:28px; }
  .home-maintenance-schedule li:nth-child(3n+1)::before { left:50%; }
  .home-maintenance-schedule li:nth-child(3n)::before { right:50%; }
  .home-maintenance-age strong { font-size:28px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-photo-link > img {
    transition: none;
  }
}
.experience {
  position: relative;
  isolation: isolate;
  color: white;
  min-height: 620px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 90px 7%;
}
.experience > img,
.experience-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.experience-shade {
  z-index: -1;
  background: #132c356e;
}
.experience .eyebrow {
  color: white;
}
.experience h2 {
  font-size: clamp(35px, 3.8vw, 50px);
  line-height: 1.8;
  letter-spacing: 0.17em;
  margin-bottom: 24px;
}
.experience p:not(.eyebrow) {
  font-size: 17px;
  line-height: 2.3;
  margin-bottom: 30px;
}
.experience .light {
  border-color: white;
}
.experience .light:hover {
  color: var(--ink);
  background: white;
}
.experience small {
  display: block;
  font-size: 12px;
  margin-top: 20px;
}
.reform {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 9%;
  align-items: center;
  padding-block: 145px;
}
.reform > img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
}
.properties {
  background: var(--soft);
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.property-photo {
  height: 240px;
  background-repeat: no-repeat;
  transition: filter 0.3s;
}
.property:hover .property-photo {
  filter: brightness(0.93);
}
.estate-320 {
  background-image: url("/images/used-43fbf53b-1.webp");
  background-size: 330%;
  background-position: 3% 17%;
}
.estate-343 {
  background-image: url("/images/used-898c155d-1.webp");
  background-size: 306%;
  background-position: 51% 9%;
}
.estate-383 {
  background-image: url("/images/used-cdd36419-1.webp");
  background-size: 308%;
  background-position: 3% 7%;
}
.property > div + div {
  padding: 20px 0;
}
.property small {
  font: 12px var(--sans);
  color: var(--muted);
}
.property h3 {
  font-size: 18px;
  margin: 10px 0 5px;
}
.property p {
  font-size: 14px;
}
.property strong {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.property strong span {
  font-family: var(--serif);
  font-size: 16px;
  margin-left: 6px;
}
.note {
  font: 12px/2 var(--sans);
  color: var(--muted);
  margin-top: 24px;
}
.contact {
  background: var(--navy);
  color: white;
}
.contact .english {
  color: #a7c2c9;
}
.contact .section-title h2 {
  font-size: 28px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  max-width: 850px;
  margin: 50px auto 0;
  align-items: center;
}
.contact-online {
  display: grid;
  gap: 15px;
}
.contact-line,
.contact-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 60px;
  border: 1px solid #8ca7ae;
  border-radius: 2px;
  font-size: 16px;
}
.contact-line {
  background: #06c755;
  border-color: #06c755;
  color: #073b21;
  font-family: var(--sans);
  font-weight: 700;
}
.contact-line > span,
.contact-form > span {
  margin-left: auto;
}
.contact-line,
.contact-form {
  padding: 10px 25px;
}
.contact-line img {
  flex: 0 0 26px;
}
.contact-form {
  justify-content: space-between;
}
.contact-phone {
  text-align: center;
}
.contact-phone > p {
  font-size: 15px;
}
.contact-phone > a {
  font-family: Georgia, serif;
  font-size: clamp(30px, 3.3vw, 42px);
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.contact-phone small {
  display: block;
  font: 12px/2 var(--sans);
}
.contact-note {
  text-align: center;
  font-size: 13px;
  margin-top: 35px;
  color: #dce8ea;
}
.footer {
  padding-block: 65px 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}
.footer-top img {
  width: 240px;
  height: auto;
}
.footer-top p {
  font-size: 14px;
  line-height: 2.1;
}
.footer-middle {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 2.1;
}
.footer address {
  font-style: normal;
}
.footer-middle nav {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-bottom {
  margin-top: 45px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 12px/1.8 var(--sans);
  color: var(--muted);
}
.footer-bottom small {
  font-size: 11px;
}
.mobile-contact {
  display: none;
}
@media (min-width: 1600px) {
  .feature-copy {
    max-width: 530px;
  }
  .work-grid {
    max-width: 1800px;
    margin: auto;
  }
  .feature-layout {
    max-width: 1800px;
    margin: auto;
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
  .home-header {
    height: 85px;
  }
  .brand {
    flex-basis: 210px;
  }
  .brand img {
    width: 210px;
  }
  .menu-toggle {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 52px;
    height: 56px;
    background: none;
    border: 0;
    z-index: 32;
  }
  .menu-toggle > span {
    display: block;
    width: 28px;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s;
  }
  .menu-toggle small {
    font: 10px var(--sans);
    letter-spacing: 0.1em;
  }
  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .home-header.menu-open {
    background: white;
    color: var(--ink);
  }
  .home-header.menu-open .brand img {
    filter: none;
  }
  #mobile-menu {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    max-height: calc(100svh - 85px);
    overflow: auto;
    background: white;
    color: var(--ink);
    padding: 20px 7% 35px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 25px #0001;
  }
  #mobile-menu a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid #eceeeb;
    font-size: 17px;
  }
  .feature-layout {
    gap: 6%;
    padding-right: 6%;
  }
  .feature-photo {
    height: 550px;
  }
  .feature-copy h2,
  .planning h2,
  .reform h2 {
    font-size: 30px;
  }
  .work-label {
    left: 5%;
    font-size: 12px;
    padding: 8px 14px;
  }
  .work-caption h3 {
    font-size: 15px;
  }
  .property-photo {
    height: 205px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: 86%;
  }
  .section {
    padding-block: 76px;
  }
  .home-header {
    height: 76px;
    padding-inline: 6%;
  }
  .brand {
    flex-basis: 185px;
  }
  .brand img {
    width: 185px;
  }
  #mobile-menu {
    top: 76px;
    max-height: calc(100svh - 76px);
  }
  .hero {
    min-height: 590px;
    height: calc(100svh - 58px);
    max-height: 850px;
  }
  .hero-image {
    object-position: 43% center;
  }
  .hero-shade {
    background: linear-gradient(0deg, #1023298c, transparent 80%);
  }
  .hero-copy {
    left: 8%;
    right: 7%;
    bottom: 18%;
  }
  .hero-copy p {
    font-size: 14px;
    margin-bottom: 17px;
  }
  .hero-copy h1 {
    font-size: clamp(31px, 8.2vw, 43px);
    line-height: 1.9;
    letter-spacing: 0.13em;
  }
  .hero-copy > span {
    font-size: 13px;
    margin-top: 22px;
  }
  .hero-bottom {
    left: 8%;
    right: 7%;
    bottom: 24px;
  }
  .hero-controls {
    gap: 12px;
  }
  .hero-controls button {
    min-width: 34px;
    font-size: 12px;
  }
  .scroll-label {
    font-size: 10px;
    gap: 16px;
  }
  .home-intro {
    padding: 19px 7%;
    gap: 5px;
    flex-wrap: wrap;
  }
  .home-intro > span {
    width: 100%;
    font-size: 10px;
  }
  .home-intro p {
    font-size: 11px;
  }
  .home-intro a {
    font-size: 11px;
  }
  .home-intro a span {
    padding-left: 10px;
  }
  .home-intro .top-cross-links { width:100%; margin-left:0; justify-content:flex-start; gap:10px 20px; }
  .home-intro .top-cross-links a { width:auto; margin-top:0; }
  .concept {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 80px;
  }
  .concept-title h2 {
    font-size: 30px;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 20px;
  }
  .concept-rule {
    margin-top: 28px;
    width: 45px;
  }
  .concept-copy h3 {
    font-size: 20px;
    margin-bottom: 24px;
  }
  .concept-copy p {
    font-size: 15px;
    line-height: 2.5;
  }
  .text-link {
    font-size: 14px;
  }
  .works {
    padding-top: 10px;
  }
  .section-title {
    margin-bottom: 35px;
  }
  .section-title .english {
    font-size: 50px;
    margin-bottom: 15px;
  }
  .section-title h2 {
    font-size: 18px;
    padding-inline: 5%;
    line-height: 1.9;
  }
  .section-title p {
    font-size: 13px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .work-image {
    aspect-ratio: 1.12 / 1;
  }
  .work-label {
    font-size: 14px;
    padding: 9px 20px;
    left: 7%;
    bottom: 24px;
  }
  .work-caption {
    padding-block: 20px 0;
  }
  .work-caption h3 {
    font-size: 18px;
    margin-top: 8px;
  }
  .work-caption > span {
    bottom: 0;
  }
  .center-link {
    margin-top: 35px;
  }
  .feature-layout {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 35px;
  }
  .feature-photo {
    height: auto;
    aspect-ratio: 1.14 / 1;
  }
  .feature-copy {
    width: 86%;
    margin: auto;
  }
  .feature-copy h2,
  .planning h2,
  .reform h2 {
    font-size: 29px;
  }
  .feature-copy p:not(.eyebrow),
  .planning-copy p:not(.eyebrow),
  .reform p:not(.eyebrow) {
    font-size: 16px;
  }

  .planning {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .planning figure {
    grid-row: 1;
  }
  .planning figure img {
    aspect-ratio: 1.1 / 1;
  }
  .planning figcaption {
    font-size: 12px;
  }
  .experience {
    min-height: 570px;
    padding-block: 70px;
  }
  .experience h2 {
    font-size: 35px;
  }
  .experience p:not(.eyebrow) {
    font-size: 16px;
  }
  .experience small {
    font-size: 11px;
  }
  .experience > img {
    object-position: 40% center;
  }
  .reform {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .reform > img {
    aspect-ratio: 1.12 / 1;
  }
  .property-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .property-photo {
    height: 280px;
  }
  .property > div + div {
    padding: 16px 0 0;
  }
  .property h3 {
    font-size: 20px;
  }
  .property small {
    font-size: 13px;
  }
  .property strong {
    font-size: 32px;
  }
  .note {
    font-size: 12px;
  }
  .properties .english {
    font-size: 43px;
  }
  .contact .section-title h2 {
    font-size: 22px;
    padding: 0;
  }
  .contact .section-title p {
    font-size: 14px;
    text-wrap: pretty;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  .contact-phone > a {
    font-size: 36px;
  }
  .contact-note {
    font-size: 12px;
  }
  .footer {
    padding-top: 48px;
    padding-bottom: 100px;
  }
  .footer-top,
  .footer-middle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  .footer-top {
    margin-bottom: 25px;
  }
  .footer-top img {
    width: 205px;
  }
  .footer-top p {
    font-size: 13px;
  }
  .footer-middle nav {
    gap: 12px 25px;
    font-size: 13px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 11px;
  }
  .footer-bottom small {
    width: 100%;
  }
  .mobile-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    position: fixed;
    z-index: 25;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #d7dfdd;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -3px 15px #10232b0a;
    font-family: var(--sans);
    font-size: 14px;
  }
  .mobile-contact a {
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid var(--line);
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .mobile-contact .mobile-contact-phone {
    background: white;
    color: var(--navy);
    border-color: #a8b5b0;
  }
  .mobile-contact .mobile-contact-form {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
  }
  .mobile-contact .mobile-contact-line {
    background: #06c755;
    color: #073b21;
    border-color: #06c755;
  }
  .mobile-contact a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
  body.has-mobile-contact {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  body:has(#mobile-menu:not([hidden])) .mobile-contact {
    visibility: hidden;
  }
  .mobile-contact img {
    width: 23px;
    height: 23px;
  }
}
/* Continuous, independently scrollable rows of real residential projects. */
.works-flow {
  --case-width: clamp(300px, 27vw, 430px);
  --case-gap: 20px;
}
.works-flow-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
  font-family: var(--sans);
  font-size: 14px;
}
.works-flow-toolbar p span {
  margin-left: 20px;
  color: var(--muted);
  font-size: 12px;
}
.works-motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
  font-size: 13px;
  min-height: 44px;
}
.motion-symbol {
  font-family: var(--sans);
  font-size: 17px;
  width: 18px;
}
.works-flow-row {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #9aa9a5 transparent;
  overscroll-behavior-x: contain;
  margin-block: 20px;
  padding-bottom: 10px;
  scroll-behavior: auto;
}
.works-flow-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.works-flow-group {
  display: flex;
  gap: var(--case-gap);
  flex: none;
  padding-right: var(--case-gap);
}
.work-flow-card {
  flex: 0 0 var(--case-width);
  width: var(--case-width);
  display: block;
}
.work-flow-image {
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
  background: var(--soft);
}
.work-flow-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.65s;
}
.work-flow-card:hover img {
  transform: scale(1.035);
}
.work-flow-number {
  position: absolute;
  bottom: 12px;
  left: 16px;
  color: white;
  font:
    24px Georgia,
    serif;
  text-shadow: 0 1px 5px #000;
}
.work-flow-caption {
  padding: 16px 10px 10px;
}
.work-flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font: 12px/1.8 var(--sans);
  color: var(--muted);
  letter-spacing: 0.035em;
}
.work-flow-tags span {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #dce4de;
  background: #f7faf8;
  white-space: nowrap;
}
.work-flow-caption h3 {
  font-size: 17px;
  line-height: 1.8;
  margin-block: 8px 12px;
  min-height: 3.6em;
}
.work-flow-facts {
  display: flex;
  align-items: center;
  font: 12px/1.8 var(--sans);
  color: var(--muted);
  gap: 16px;
}
.work-flow-facts .work-flow-area { white-space: nowrap; }
.work-flow-facts .work-flow-arrow {
  margin-left: auto;
  font-size: 20px;
  color: var(--ink);
}

@media (max-width: 700px) {
  .concept-title h2 {
    font-size: 30px;
    line-height: 2.2;
    letter-spacing: 0.16em;
  }
  .concept-title .eyebrow {
    margin-bottom: 30px;
  }
  .concept {
    gap: 45px;
  }
  .works .section-title > p {
    padding-inline: 7%;
    font-size: 14px;
  }
  .works-flow {
    --case-width: 76vw;
    --case-gap: 14px;
  }
  .works-flow-toolbar {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13px;
  }
  .works-flow-toolbar p span {
    margin-left: 10px;
  }
  .works-motion-toggle {
    margin-left: auto;
    font-size: 12px;
  }
  .works-flow-row {
    margin-block: 14px;
  }
  .work-flow-caption {
    padding: 14px 5px 8px;
  }
  .work-flow-caption h3 {
    font-size: 16px;
  }
  .work-flow-tags,
  .work-flow-facts {
    font-size: 12px;
  }
}
/* Quieter proportions and more generous mobile spacing. */
.topics {
  padding-bottom: 30px;
}
.topics .section-title {
  margin-bottom: 36px;
}
.topics-heading {
  display: flex;
  align-items: center;
  gap: 24px;
}
.works-heading {
  display: flex;
  align-items: center;
  gap: 24px;
}
.works-heading::before,
.works-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.topics-heading::before,
.topics-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.topics-heading .english {
  margin-bottom: 6px;
}
.topics .section-title h2 {
  font-size: 18px;
  margin-top: 12px;
}
.topics .section-title p {
  font-size: 14px;
  margin-top: 15px;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.topic-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--soft);
}
.topic-photo img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}
.topic-card:hover img {
  transform: scale(1.025);
}
.topic-photo > span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 16px;
  background: var(--ink);
  color: white;
  border-radius: 30px;
  font-size: 12px;
}
.topic-card h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 16px;
  line-height: 1.9;
  margin-top: 16px;
}
.topic-card h3 > span {
  flex: none;
}
.topics-note {
  text-align: center;
  font: 12px/1.9 var(--sans);
  color: var(--muted);
  margin-top: 30px;
}
.concept {
  grid-template-columns: 0.9fr 1.1fr;
  column-gap: 80px;
}
.concept-title {
  justify-self: end;
  width: 260px;
  max-width: 100%;
}
.concept-title h2 {
  margin: 0 auto;
}
.concept-rule {
  margin: 32px auto 0;
}
#ryoon-title ruby {
  ruby-position: over;
}
#ryoon-title rt {
  font-size: 0.34em;
  letter-spacing: 0.06em;
  font-weight: 400;
}
.planning figure img,
.reform > img {
  aspect-ratio: 3/2;
  height: auto;
}

@media (max-width: 700px) {
  .topics.section {
    padding-bottom: 0;
  }
  .topics-heading {
    gap: 15px;
  }
  .topics .section-title h2 {
    padding: 0;
    font-size: 18px;
  }
  .topics .section-title p {
    font-size: 14px;
    line-height: 2;
    margin-top: 18px;
  }
  .topics-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .topic-card h3 {
    font-size: 17px;
    line-height: 1.9;
    margin-top: 16px;
  }
  .topics-note {
    text-align: left;
    font-size: 12px;
    margin-top: 32px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 88px;
  }
  .home-header {
    height: 66px;
    padding-inline: 20px;
  }
  .brand {
    flex-basis: 170px;
  }
  .brand img {
    width: 170px;
  }
  #mobile-menu {
    top: 66px;
    max-height: calc(100svh - 66px);
    padding-inline: 24px;
  }
  .hero-copy {
    left: 24px;
    right: 24px;
  }
  .hero-copy h1 {
    font-size: clamp(29px, 7.6vw, 38px);
    letter-spacing: 0.1em;
  }
  .hero-copy p {
    font-size: 13px;
  }
  .home-intro {
    padding-inline: 20px;
  }
  .home-intro p {
    font-size: 12px;
  }
  .home-intro a {
    font-size: 12px;
    margin-top: 8px;
    width: 100%;
  }
  .concept {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 92px;
  }
  .concept-title {
    justify-self: center;
  }
  .concept-title h2 {
    font-size: 28px;
  }
  .concept-copy {
    text-align: center;
  }
  .concept-copy h3 {
    font-size: 19px;
    line-height: 2.1;
  }
  .concept-copy p {
    font-size: 16px;
    line-height: 2.15;
    margin-bottom: 24px;
  }
  .concept-copy p br {
    display: none;
  }
  .concept-copy .text-link {
    margin-top: 12px;
  }
  .section-title {
    margin-bottom: 38px;
  }
  .section-title .english {
    font-size: 46px;
  }
  .works {
    padding-top: 24px;
  }
  .works-flow {
    --case-width: 84vw;
    --case-gap: 18px;
  }
  .works-flow-toolbar {
    gap: 16px;
    margin-bottom: 24px;
    font-size: 13px;
  }
  .works-flow-toolbar p {
    width: 100%;
  }
  .work-flow-caption {
    padding: 18px 6px 6px;
  }
  .work-flow-caption h3 {
    font-size: 17px;
    line-height: 1.9;
  }
  .feature-copy {
    width: calc(100% - 40px);
  }
  .feature-layout {
    gap: 40px;
  }
  .feature-photo {
    aspect-ratio: 3/2;
  }
  .feature-copy h2,
  .planning h2,
  .reform h2 {
    font-size: 28px;
    line-height: 1.7;
    letter-spacing: 0.06em;
    margin-bottom: 26px;
  }
  .feature-copy p:not(.eyebrow),
  .planning-copy p:not(.eyebrow),
  .reform p:not(.eyebrow) {
    font-size: 16px;
    line-height: 2.1;
    margin-bottom: 24px;
  }
  .reform p br {
    display: none;
  }
  .planning,
  .reform {
    gap: 36px;
  }
  .planning figure img,
  .reform > img {
    aspect-ratio: 3/2;
    height: auto;
  }

  .property-grid {
    gap: 38px;
  }
  .property-photo {
    height: auto;
    aspect-ratio: 3/2;
  }
  .contact .section-title h2 {
    font-size: 21px;
    letter-spacing: 0.04em;
  }
  .contact .section-title p {
    font-size: 15px;
    line-height: 2;
  }
  .contact-online {
    gap: 18px;
  }
  .round-link {
    min-width: 0;
    width: min(100%, 300px);
    gap: 20px;
    padding-block: 14px;
  }
  .mobile-contact {
    font-size: 13px;
  }
  .mobile-contact a {
    height: 60px;
    gap: 3px;
  }
}
/* Explicit heading/photo/copy order, and manually advanced secondary content. */
.planning {
  grid-template-areas: "heading photo" "copy photo";
  row-gap: 0;
}
.planning-heading {
  grid-area: heading;
  align-self: end;
}
.planning-heading h2 span {
  display: inline-block;
}
.planning-copy {
  grid-area: copy;
  align-self: start;
}
.planning figure {
  grid-area: photo;
  align-self: center;
}
.reform {
  grid-template-areas: "photo heading" "photo copy";
  row-gap: 0;
}
.reform-heading {
  grid-area: heading;
  align-self: end;
}
.reform-copy {
  grid-area: copy;
  align-self: start;
}
.reform > img {
  grid-area: photo;
  align-self: center;
}
.feature-layout {
  grid-template-areas: "photo heading" "photo copy";
  row-gap: 0;
}
.feature-heading {
  grid-area: heading;
  align-self: end;
}
.feature-heading h2 {
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.9;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.feature-heading .feature-mark-heading { margin: 22px 0 28px; }
.feature-ryoon-mark {
  display: block;
  width: 180px;
  max-width: 60%;
  height: auto;
  object-fit: contain;
}
.feature-copy {
  grid-area: copy;
  align-self: start;
}
.feature-photo {
  grid-area: photo;
}
.topics-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 2.4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: 4px 0 12px;
}
.card-rail > a {
  min-width: 0;
  scroll-snap-align: start;
}
.card-rail:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.card-rail-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}
.card-rail-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #89958e;
  border-radius: 0;
  background: transparent;
  font-size: 23px;
  transition: opacity 0.2s;
}
.card-rail-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
.topics-note {
  margin-top: 20px;
}
.properties.section {
  padding-block: 64px;
  background: #f8f9f7;
}
.properties > .wrap {
  max-width: 960px;
}
.properties .section-title {
  text-align: left;
  margin-bottom: 28px;
}
.properties .section-title .eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
}
.properties .section-title h2 {
  font-size: 26px;
  letter-spacing: 0.08em;
}
.properties .section-title p {
  font-size: 14px;
  margin-top: 10px;
}
.properties .property-grid {
  gap: 24px;
}
.properties .property-photo {
  height: auto;
  aspect-ratio: 16/9;
}
.properties .property h3 {
  font-size: 16px;
  margin: 8px 0 4px;
}
.properties .property p {
  font-size: 13px;
}
.properties .property strong {
  font-size: 26px;
}
.properties .property strong span {
  font-size: 14px;
}
.properties .property > div + div {
  padding-top: 14px;
}
.properties .note {
  margin-top: 18px;
}
.properties .center-link {
  justify-content: flex-start;
  margin-top: 24px;
}
.properties .round-link {
  font-size: 13px;
  padding: 9px 20px;
  min-width: 230px;
}
.properties-controls {
  display: none;
}
@media (max-width: 700px) {
  .planning,
  .reform,
  .feature-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "photo" "copy";
    gap: 0;
  }
  .planning-heading,
  .reform-heading,
  .feature-heading {
    width: 100%;
  }
  .feature-layout {
    width: calc(100% - 40px);
    margin-inline: auto;
  }
  .feature-copy {
    width: 100%;
  }
  .planning figure,
  .reform > img,
  .feature-photo {
    grid-row: 2;
    margin-bottom: 28px;
  }
  .planning-heading .eyebrow,
  .reform-heading .eyebrow,
  .feature-heading .eyebrow {
    margin-bottom: 14px;
  }
  .planning-heading h2,
  .reform-heading h2,
  .feature-heading h2 {
    font-size: 28px;
    line-height: 1.7;
    letter-spacing: 0.06em;
    margin-bottom: 28px;
  }
  .feature-heading .feature-mark-heading { margin-top: 8px; }
  .feature-ryoon-mark { width: 150px; }
  .feature-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
  }
  .topics-grid {
    grid-template-columns: none;
    grid-auto-columns: 86%;
    gap: 18px;
  }
  .topic-card h3 {
    font-size: 16px;
  }
  .topics-controls {
    margin-top: 16px;
  }
  .properties.section {
    padding-block: 48px;
  }
  .properties .section-title {
    margin-bottom: 22px;
  }
  .properties .section-title h2 {
    font-size: 22px;
    padding: 0;
  }
  .properties .section-title p {
    font-size: 13px;
  }
  .properties .property-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding-block: 4px 10px;
  }
  .properties .property h3 {
    font-size: 16px;
  }
  .properties .property-photo {
    aspect-ratio: 16/9;
  }
  .properties .property small {
    font-size: 12px;
  }
  .properties .property strong {
    font-size: 25px;
  }
  .properties-controls {
    display: flex;
    margin-top: 12px;
  }
  .properties .note {
    font-size: 12px;
    line-height: 1.8;
  }
  .properties .round-link {
    width: auto;
    min-width: 230px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Static case gallery: complete cards at each viewport, one-card manual navigation. */
.works-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  font: 14px/1.8 var(--sans);
}
.works-controls {
  margin: 0;
  flex: none;
}
.card-rail-controls[hidden] {
  display: none;
}
.works-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0 0 12px;
}
.works-rail > .work-flow-card {
  width: auto;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.works-rail .work-flow-caption {
  padding-inline: 0;
}
.home-faq {
  border-top: 1px solid var(--line);
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 72px;
}
.faq-heading .eyebrow {
  display: block;
  margin-bottom: 20px;
  font-size: 12px;
}
.faq-heading h2 {
  font-size: 30px;
  margin-bottom: 18px;
  letter-spacing: 0.08em;
}
.faq-heading p {
  color: var(--muted);
  font: 14px/1.9 var(--sans);
}
.faq-items {
  border-top: 1px solid var(--line);
  min-width: 0;
}
.faq-items details {
  border-bottom: 1px solid var(--line);
}
.faq-items summary {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: baseline;
  padding: 24px 0;
  cursor: pointer;
  font: 500 16px/1.9 var(--sans);
  list-style: none;
}
.faq-items summary::-webkit-details-marker {
  display: none;
}
.faq-items summary::after {
  content: "＋";
  font-size: 18px;
}
.faq-items details[open] summary::after {
  content: "−";
}
.faq-items summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.faq-number {
  font:
    17px Georgia,
    serif;
  color: var(--navy);
}
.faq-answer {
  padding: 0 30px 26px 44px;
  color: var(--muted);
  font: 15px/2 var(--sans);
}
.contact #contact-title span {
  display: block;
}
.concept-copy p,
.feature-copy > p,
.planning-copy > p,
.reform-copy > p {
  font-weight: 500;
}
@media (max-width: 1000px) {
  .works-rail {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
  .faq-layout {
    gap: 40px;
  }
}
@media (max-width: 700px) {
  .hero {
    overflow: hidden;
  }
  /* Enlarge from the bottom to crop the upper fifth (ceiling) of the first photo. */
  .hero-image[src="/images/home-hero.webp"] {
    top: -25%;
    height: 125%;
    object-position: 58% bottom;
  }
  .works-gallery-toolbar {
    gap: 14px;
    margin-bottom: 20px;
    font-size: 12px;
  }
  .works-controls {
    gap: 8px;
  }
  .works-rail {
    grid-auto-columns: 100%;
    gap: 20px;
  }
  .works-rail .work-flow-caption h3 {
    min-height: 0;
  }
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .faq-heading h2 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  .faq-heading .eyebrow {
    margin-bottom: 14px;
  }
  .faq-items summary {
    grid-template-columns: 26px minmax(0, 1fr) 16px;
    gap: 8px;
    padding: 21px 0;
    font-size: 15px;
  }
  .faq-answer {
    padding: 0 0 24px 34px;
    font-size: 14px;
    line-height: 2;
  }
  .contact #contact-title {
    font-size: clamp(19px, 5.2vw, 28px);
    letter-spacing: 0.04em;
    line-height: 1.9;
    padding-inline: 0;
  }
  .contact #contact-title span {
    white-space: nowrap;
  }
}

/* Open typography layout: whitespace separates the heading, metrics and conditions. */
.performance-wrap {
  max-width: 1040px;
  margin-top: 140px;
}
.performance-heading {
  margin-bottom: 52px;
  text-align: center;
}
.performance-heading h3 {
  color: var(--ink);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
}
.performance-heading h3 span {
  display: inline-block;
}
.performance-heading p {
  margin-top: 16px;
  color: var(--muted);
  font: 14px/1.9 var(--sans);
}
.performance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding: 32px 24px;
  border: 1px solid #d6dcd3;
  background: #fafbf8;
  font-family: var(--sans);
}
.performance > div {
  display: grid;
  grid-template-rows: 24px 54px;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--ink);
}
.performance-category {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.performance-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  align-self: center;
  gap: 5px;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}
.performance-prefix {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}
.performance-number {
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0;
}
.performance-range {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.performance-letters {
  font-family: Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.performance-qualifier {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
}
.performance-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 40px;
  margin: 48px 0 0;
  color: var(--muted);
  font: 13px/1.9 var(--sans);
  letter-spacing: 0.02em;
}
.performance-notes > div {
  display: block;
}
.performance-notes dt {
  display: inline;
  color: var(--ink);
  font-weight: 600;
}
.performance-notes dd {
  display: inline;
  margin: 0;
}
@media (max-width: 1000px) {
  .performance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
}
@media (max-width: 700px) {
  .performance-wrap {
    margin-top: 88px;
  }
  .performance-heading {
    margin-bottom: 40px;
  }
  .performance-heading h3 {
    font-size: 23px;
    line-height: 1.8;
    letter-spacing: 0.04em;
  }
  .performance-heading h3 span {
    display: block;
  }
  .performance-heading p {
    margin-top: 12px;
    font-size: 13px;
  }
  .performance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
    padding: 28px 16px;
  }
  .performance > div {
    grid-template-rows: 22px 48px;
    gap: 10px;
  }
  .performance-value {
    gap: 3px;
  }
  .performance-prefix {
    font-size: 16px;
  }
  .performance-number {
    font-size: 44px;
  }
  .performance-range {
    font-size: 24px;
  }
  .performance-letters {
    font-size: 32px;
  }
  .performance-qualifier {
    font-size: 10px;
    letter-spacing: 0;
  }
  .performance-unit {
    font-size: 9px;
  }
  .performance-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 40px;
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .performance-range {
    font-size: 21px;
  }
}

/* Free design uses a decorative floor plan without a separate photo column. */
.planning-backdrop .planning {
  display: block;
  padding-block: 120px;
}
.planning-backdrop .planning-heading,
.planning-backdrop .planning-copy {
  width: min(100%, 540px);
}
@media (max-width: 700px) {
  .planning-backdrop .planning {
    padding-block: 76px;
  }
}

/* Residential film and the single statement that follows it. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero.hero-video {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
  background: #fff;
  color: #18313c;
  overflow: hidden;
}
.hero-video-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video .hero-bottom {
  bottom: 22px;
  left: 4%;
  right: auto;
}
.hero-video .scroll-label {
  display: inline-flex;
  gap: 12px;
  padding: 4px 10px;
  border-radius: 2px;
  color: #18313c;
  background: #ffffffd9;
}
.concept-title .concept-signature {
  margin: 34px auto 0;
  font: 500 13px/1.7 var(--sans);
  letter-spacing: .12em;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .hero.hero-video { aspect-ratio: 4 / 5; }
  .hero-video .hero-bottom { display: none; }
  .home-intro { padding-top: 14px; }
  .concept-title .concept-signature { font-size: 12px; }
}
.works-rail.works-featured-grid { grid-auto-flow:row; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-columns:auto; overflow:visible; scroll-snap-type:none; }
.works-index-link { margin-top:38px; text-align:center; }
.works-index-link a { display:inline-flex; align-items:center; gap:28px; padding:14px 25px; border:1px solid var(--navy); color:var(--navy); font:15px/1.6 var(--sans); }
.works-index-link a:hover { background:var(--navy); color:#fff; }
@media(max-width:768px) { .works-rail.works-featured-grid { grid-template-columns:minmax(0,1fr); gap:36px; } }
/* Show the case title before the photograph on phones. */
@media (max-width: 768px) {
  .works-rail .work-flow-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; align-content: start; }
  .works-rail .work-flow-caption { display: contents; }
  .works-rail .work-flow-caption h3 { grid-row: 1; min-height: 0; margin: 0 0 12px; }
  .works-rail .work-flow-image { grid-row: 2; }
  .works-rail .work-flow-tags { grid-row: 3; margin-top: 14px; }
  .works-rail .work-flow-facts { grid-row: 4; margin-top: 10px; }
}


.work-flow-caption h3 { text-decoration:underline; text-decoration-color:#000; text-underline-offset:5px; text-decoration-thickness:1px; }
.topics .center-link { display:flex; justify-content:center; }

/* Arrow-free controls use balanced padding around their labels. */
.round-link { justify-content:center; min-width:0; width:fit-content; gap:0; padding-inline:24px; text-align:center; }
.feature-copy > .round-link, .planning-copy > .round-link { display:flex; margin-inline:0; }
.experience-copy > .round-link { display:flex; margin-inline:auto; }
.properties .round-link { min-width:0; padding-inline:20px; }
.contact-online > .contact-line, .contact-online > .contact-form { position:relative; justify-content:center; text-align:center; padding-inline:54px; }
.contact-online > .contact-line img { position:absolute; left:20px; }
.topics .round-link[href*="instagram.com"] { display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:14px 24px; background:#fff !important; color:#173943 !important; border:1px solid #173943; }
.topics .round-link[href*="instagram.com"]:hover, .topics .round-link[href*="instagram.com"]:focus-visible { background:#eaf5f9 !important; color:#173943 !important; text-decoration:none; }
.instagram-icon { flex-shrink:0; }

.home-photo-link-title h2 { text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; }


/* Read steps down each column on desktop, in sequence on phones. */
@media(min-width:769px){.home-flow-list{grid-auto-flow:column;grid-template-rows:repeat(3,auto)}}
.contact-online > .contact-line{gap:8px;min-height:58px;padding:12px;border-radius:2px;font-size:16px}
.contact-online > .contact-line img.line-brand-icon{position:static;width:28px;height:28px;flex:0 0 28px;filter:invert(1)}
.contact-online > .contact-line > span{margin:0}
.contact-online > .contact-line:hover{background:#18d366;border-color:#18d366}
@media(max-width:480px){.contact-online > .contact-line{min-height:54px}}

/* Leave breathing room below Instagram and keep slider arrows visible. */
#topics.section{padding-bottom:72px}
.topics-controls button{color:#173943;background:#fff;line-height:1}
.topics-controls button:not(:disabled):hover{background:#eaf5f9;color:#173943}
@media(max-width:700px){#topics.section{padding-bottom:48px}}

@media(max-width:768px){#reform.home-photo-links{padding-bottom:24px}#topics.section{padding-top:32px}}

/* Instagram: fixed photo invitation, matching the adjacent photo links. */
.instagram-invite{padding-top:0;padding-bottom:64px;scroll-margin-top:110px}
.instagram-invite-inner{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.instagram-invite-photo img{object-fit:cover}
.instagram-invite-copy{padding:24px 32px}
.instagram-invite h2{font-size:24px;line-height:1.7;margin:0 0 18px;font-weight:600;letter-spacing:.04em}
.instagram-invite-copy p{font-size:14px;line-height:2;color:#536a73;margin:0}
.instagram-invite-photo .home-photo-link-title span{display:inline-block;margin-top:12px;font-size:18px;text-decoration:underline;text-underline-offset:6px}
.instagram-invite .instagram-invite-button{display:inline-flex;justify-content:center;align-items:center;margin-top:24px;padding:11px 26px;background:#fff;color:var(--ink);border:1px solid #777e78;text-decoration:none;font-size:14px}
.instagram-invite .instagram-invite-button:hover,.instagram-invite .instagram-invite-button:focus-visible{background:#eaf5f9;color:var(--ink)}
@media(max-width:768px){.instagram-invite{padding-bottom:40px}.instagram-invite-inner{grid-template-columns:1fr;gap:0}.instagram-invite-copy{padding:24px 0 0}.instagram-invite h2{font-size:21px;margin-bottom:12px}.instagram-invite .instagram-invite-button{width:100%;margin-top:20px}}
.instagram-invite a.instagram-invite-button.external-text-link{color:var(--ink) !important;text-decoration:none !important}
