/* CHLOE CONSTRUCTION GROUP
   Stone paper, ink, and a setting-out signal line. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-600-normal.woff2") format("woff2");
}

:root {
  --paper: #f3f0e7;
  --paper-raised: #fbf9f4;
  --ink: #1a1c17;
  --muted: #3f443c;
  --line: #d3cec2;
  --signal: #dde85a;
  --panel: #1c1f1a;
  --panel-soft: #d4d0c4;
  --danger: #8d2a1f;
  --ok: #234232;
  --header-offset: 6.5rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
.wordmark-primary,
.facts dd,
.step-no {
  font-family: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.1rem, 7.4vw, 6.15rem);
  margin-bottom: 0;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}

p,
li,
dd {
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  z-index: 80;
  transform: translateY(-160%);
  background: var(--signal);
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  font-weight: 600;
}

.skip:focus {
  transform: none;
}

.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;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sheet {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 38rem;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 240, 231, 0.97);
  border-top: 6px solid var(--signal);
  border-bottom: 1px solid var(--line);
}

.mast-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.mark {
  flex: none;
  display: block;
}

.wordmark-primary {
  display: block;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  line-height: 0.9;
}

.wordmark-secondary {
  display: block;
  margin-top: 0.28rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.menu-toggle {
  display: none;
  min-height: 2.75rem;
  padding: 0.45rem 0.8rem;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--ink);
}

.enquire {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.4rem 0.8rem;
  background: var(--signal);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.enquire:hover {
  background: #cdd64a;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  text-align: center;
}

.button-signal {
  background: var(--signal);
  border-color: #c5cf4a;
}

.button-signal:hover {
  background: #cdd64a;
}

.button-line:hover {
  background: var(--ink);
  color: var(--paper);
}

.button:disabled,
.button:disabled:hover {
  opacity: 0.55;
  cursor: not-allowed;
  background: transparent;
  color: var(--ink);
}

.button-signal:disabled,
.button-signal:disabled:hover {
  background: var(--signal);
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.opening {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.75fr);
  gap: 2.5rem;
  align-items: end;
  padding: 3.4rem 0 1.5rem;
}

.opening-side p {
  margin-bottom: 0;
  color: var(--ink);
}

.plain-note {
  margin: 0.5rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 6px solid var(--signal);
  background: var(--paper-raised);
}

.plain-note p {
  margin: 0;
  max-width: 62rem;
}

.plates {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 0.9rem;
  align-items: end;
  margin-top: 1.6rem;
}

.frame {
  background: #ddd8cc;
  overflow: hidden;
}

.frame-wide {
  aspect-ratio: 16 / 11;
}

.frame-tall {
  aspect-ratio: 4 / 5;
}

.frame-cinema {
  aspect-ratio: 16 / 7;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2.2rem 0 0;
  border-top: 1px solid var(--ink);
}

.facts div {
  min-width: 0;
  padding: 1rem 1rem 1.15rem 0;
  border-bottom: 1px solid var(--ink);
}

.facts dt {
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-size: 1.2rem;
}

.block {
  padding: 5.25rem 0;
}

.block-follow {
  padding-top: 0;
}

.prose-gap {
  padding-top: 2.5rem;
}

.prose-end {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.page-end {
  height: 4rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.6rem 1.5rem 1.4rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: var(--ink);
  background: #fffdf8;
}

.service-card:hover::after,
.service-card:focus-within::after {
  transform: scaleX(1);
}

.index-num {
  margin: 0 0 1.2rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.service-card p {
  color: var(--muted);
}

.service-card h3 {
  margin-bottom: 0.7rem;
}

.service-card h3 a,
.text-link {
  color: var(--ink);
}

.card-more {
  margin-top: auto;
  padding-top: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.card-more a {
  color: var(--ink);
}

.facts-two {
  grid-template-columns: 1fr 1fr;
}

.register {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.register-copy p:last-child {
  margin-bottom: 0;
}

blockquote {
  margin: 0 0 1.2rem;
  padding: 0;
}

blockquote p {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.sequence {
  background: var(--panel);
  color: var(--paper);
}

.sequence .sheet,
.sequence .section-intro {
  color: var(--panel-soft);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
}

.steps li {
  border-top: 1px solid rgba(243, 240, 231, 0.28);
  padding-top: 1rem;
}

.step-no {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--signal);
  font-size: 1.8rem;
}

.steps h3 {
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}

.steps p {
  margin: 0;
  color: var(--panel-soft);
  font-size: 0.98rem;
}

.sequence :focus-visible,
.colophon :focus-visible {
  outline-color: var(--signal);
}

.questions .question {
  border-top: 1px solid var(--line);
}

.questions .question:last-child {
  border-bottom: 1px solid var(--line);
}

.question summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.4rem;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.question summary::-webkit-details-marker {
  display: none;
}

.question summary::after {
  content: "+";
  flex: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.question[open] summary::after {
  content: "–";
}

.answer {
  padding: 0 0 1.15rem;
  max-width: 44rem;
  color: var(--muted);
}

.answer p:last-child {
  margin-bottom: 0;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--ink);
  padding-top: 2.5rem;
}

address {
  font-style: normal;
}

.visit address,
.office-card address {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 600;
}

.colophon {
  background: var(--panel);
  color: var(--paper);
  padding: 3.5rem 0 1.5rem;
}

.colophon a {
  color: var(--paper);
  text-decoration: none;
}

.colophon a:hover {
  text-decoration: underline;
}

.colophon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 2rem;
}

.colophon h2 {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.colophon .legal-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.colophon address,
.colophon p,
.colophon li {
  color: var(--panel-soft);
  font-size: 0.98rem;
}

.colophon ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.colophon li {
  margin: 0.45rem 0;
}

.colophon-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 240, 231, 0.2);
}

.colophon-base p {
  margin: 0;
  font-size: 0.88rem;
}

.page-intro {
  padding: 3.2rem 0 1rem;
}

.page-intro h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
}

.crumb {
  margin-bottom: 1.2rem;
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
}

.prose {
  max-width: 44rem;
}

.prose > * + * {
  margin-top: 1rem;
}

.split-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.note-card {
  padding: 1.2rem 1.15rem 1.3rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease;
}

.note-card:hover {
  border-color: var(--ink);
}

.note-card h3 {
  font-size: 1.25rem;
}

.note-card ul,
.service-chapter ul {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.service-chapter {
  padding-top: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--ink);
}

.service-chapter .sheet {
  margin-bottom: 0.4rem;
}

.wide-figure {
  margin: 1.5rem 0 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 3rem;
}

.office-card {
  position: sticky;
  top: 7rem;
  padding: 1.3rem 0 0;
}

.office-card p {
  color: var(--muted);
}

.stack-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.enquiry,
.post-card {
  padding: 1.3rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
}

.post-card > * + * {
  margin-top: 1rem;
}

.form-banner {
  margin: 0 0 1rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.form-banner:empty {
  display: none;
}

.form-banner.is-error {
  border-color: var(--danger);
}

.form-banner.is-success {
  border-color: var(--ok);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  margin-bottom: 0.95rem;
}

.field label,
.check span {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b7b2a6;
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  min-height: 3rem;
}

textarea {
  min-height: 9.5rem;
  resize: vertical;
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: var(--danger);
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.3rem 0 1rem;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 1.15rem;
  margin-top: 0.2rem;
  flex: none;
}

.check span {
  margin: 0;
  font-weight: 400;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.map-section {
  padding: 0 0 4.5rem;
}

.map-frame {
  margin-top: 1rem;
  background: #ddd8cc;
  min-height: 240px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 4.5rem;
}

.policy-nav {
  position: sticky;
  top: 6.5rem;
}

.policy-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.policy-nav a {
  display: block;
  padding: 0.32rem 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.policy-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.policy-body h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body p,
.policy-body li {
  font-size: 1.05rem;
  line-height: 1.7;
}

.policy-body ul,
.policy-body ol {
  padding-left: 1.2rem;
}

.draft-banner {
  margin: 0 0 1.4rem;
  padding: 1rem 1.05rem;
  background: var(--signal);
  color: var(--ink);
  border: 1px solid var(--ink);
}

.draft-banner p {
  margin: 0.4rem 0 0;
}

.draft-banner p:first-child {
  margin-top: 0;
  font-weight: 600;
}

.config-list {
  margin: 0 0 1.2rem;
}

.config-list dt {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.config-list dd {
  margin: 0.25rem 0 0;
}

.missing-list li + li {
  margin-top: 0.35rem;
}

.result-main {
  padding: 4rem 0 5rem;
  max-width: 40rem;
}

.result-main h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0.4rem 0 1rem;
}

@media (max-width: 900px) {
  .opening,
  .section-head,
  .register,
  .visit,
  .contact-layout,
  .policy-layout,
  .plates,
  .split-note,
  .colophon-grid {
    grid-template-columns: 1fr;
  }

  .facts,
  .steps,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .office-card,
  .policy-nav {
    position: static;
  }

  .page-intro h1,
  .opening h1 {
    max-width: none;
  }

  .frame-cinema {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 860px) {
  html.js .menu-toggle {
    display: inline-flex;
  }

  html.js .nav-panel {
    display: none;
    position: fixed;
    z-index: 30;
    top: 6rem;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.35rem 1.25rem 2rem;
    background: var(--paper);
    overflow: auto;
  }

  html.js .nav-panel.is-open {
    display: flex;
  }

  html.js .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  html.js .nav-list a {
    display: block;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.45rem;
    font-family: "Fraunces", Georgia, serif;
  }

  html.js .enquire {
    margin-top: 1rem;
    justify-content: center;
  }

  html.js body.menu-open {
    overflow: hidden;
  }

  html:not(.js) .mast-inner {
    flex-wrap: wrap;
    padding-bottom: 0.8rem;
  }

  html:not(.js) .nav-panel {
    width: 100%;
    flex-wrap: wrap;
    padding-bottom: 0.4rem;
  }
}

@media (max-width: 640px) {
  .wrap,
  .mast-inner {
    width: min(1120px, calc(100% - 1.7rem));
  }

  .facts,
  .steps,
  .card-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .block {
    padding: 3.4rem 0;
  }

  .wordmark-primary {
    font-size: 1.2rem;
    letter-spacing: 0.06em;
  }

  .wordmark-secondary {
    letter-spacing: 0.1em;
    font-size: 0.62rem;
  }

  .opening {
    padding-top: 2rem;
  }

  .map-frame iframe {
    height: 300px;
  }

  .visit address,
  .office-card address {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .service-card:hover::after,
  .service-card:focus-within::after {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  html.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .mast,
  .skip,
  .enquire,
  .menu-toggle,
  .policy-nav,
  .actions,
  .map-section {
    display: none !important;
  }

  body,
  .colophon,
  .sequence {
    background: white;
    color: black;
  }

  .sequence .step-no,
  .colophon a,
  .colophon p,
  .colophon address,
  .colophon li {
    color: black;
  }

  a {
    text-decoration: underline;
  }
}
