/* Shared design tokens keep all pages consistent and easy to adjust. */
:root {
  --paper: #ffffff;
  --ink: #292c29;
  --muted: #676a64;
  --line: #dcded5;
  --orange: #c64b15;
  --soft: #edece5;
  --max: 1340px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}

/* HEADER AND NAVIGATION */
header {
  max-width: var(--max);
  margin: auto;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

/* Horizontal line above the company name */
.brand {
  display: inline-block;
  position: relative;
  width: fit-content;
  padding-left: 10px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.2;
  white-space: nowrap;
}

/* Architectural corner before the company name */
.brand::after {
  content: "";
  position: absolute;
  top: -6px;
  bottom: auto;
  left: 0;
  right: -8px;
  height: 43px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);

  pointer-events: none;
}

/* Brand description */
.brand span {
  display: block;
  margin-top: 10px;

  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.015em;
  color: var(--muted);
  white-space: normal;
}

.brandfooter {
  display: inline-block;
  position: relative;
  width: fit-content;
  padding-left: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.2;
  color: var(--orange);
}

.brandfooter span {
  color: #000;
}

header nav {
  display: flex;
  gap: 26px;
  font-size: 12px;
}

header nav a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}

header nav a:after {
  content: "";
  height: 2px;
  background: var(--orange);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  transition: right 0.2s;
}

header nav a:hover:after,
header nav a[aria-current]:after {
  right: 0;
}

.menu-toggle {
  display: none;
}

.skip {
  position: absolute;
  left: 20px;
  top: -70px;
  background: white;
  padding: 8px;
  z-index: 10;
}

.skip:focus {
  top: 10px;
}

/* TYPOGRAPHY AND MAIN CONTENT */
main {
  max-width: var(--max);
  margin: auto;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(42px, 5.2vw, 72px);
  margin-bottom: 30px;
}

h1 em {
  font-weight: 400;
  color: var(--orange);
}

h2 {
  font-size: clamp(30px, 3.1vw, 44px);
  margin-bottom: 25px;
}

p {
  color: var(--muted);
  margin-bottom: 22px;
}

ul {
  color: var(--muted);
  padding-left: 22px;
  margin: 25px 0 32px;
}

li {
  padding-left: 7px;
  margin-bottom: 8px;
}

li::marker {
  color: var(--orange);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 600;
  color: var(--orange);
  display: block;
  margin-bottom: 24px;
}

/* HOMEPAGE HERO */
.home-hero {
  padding: 76px 48px 45px;
  display: grid;
  grid-template-columns: 1fr 1.07fr;
  gap: 25px;
  align-items: center;
  min-height: 570px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy p {
  max-width: 380px;
  font-size: 17px;
  line-height: 1.65;
}

.hero-image {
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  padding: 30px 0 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-image figcaption {
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 18px 15px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--orange);
  color: white;
  padding: 15px 23px;
  font-size: 12px;
  border: 1px solid var(--orange);
  cursor: pointer;
  transition: background 0.2s;
}

.button:hover {
  background: #a33e13;
}

.button span {
  font-size: 20px;
}

/* HOMEPAGE SECTIONS */
.principles {
  display: flex;
  justify-content: space-between;
  margin: 0 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.principles span + span:before {
  content: "+";
  color: var(--orange);
  margin-right: 35px;
}

.editorial {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  padding: 100px 80px;
}

.editorial p {
  font-size: 16px;
}

.text-link {
  font-size: 12px;
  display: inline-block;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 7px;
  margin-top: 10px;
}

.explore {
  background: var(--soft);
  padding: 60px 80px;
}

.explore > a {
  display: flex;
  align-items: center;
  gap: 35px;
  border-top: 1px solid #cdcec4;
  padding: 30px 0;
}

.explore h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.explore p {
  font-size: 14px;
  margin: 0;
}

.number {
  font-size: 11px;
  color: var(--orange);
  align-self: flex-start;
  padding-top: 8px;
}

.arrow {
  margin-left: auto;
  color: var(--orange);
  font-size: 34px;
}

.quote {
  padding: 30px 130px 90px 130px;
}

.quote blockquote {
  text-align: center;
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #555;
}

.quote p {
	margin-left: 50%;
	font-size: 14px;
	letter-spacing: 0.05em;
}

.cta {
  background: #30372f;
  color: var(--paper);
  padding: 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cta .eyebrow {
  color: #e5a681;
  margin-bottom: 16px;
}

.cta h2 {
  margin: 0;
  font-size: 36px;
}

.cta .button {
  background: transparent;
  border-color: #7c8477;
}

.cta .button:hover {
  background: #495342;
}

/* INNER PAGES */
.page-intro {
  padding: 75px 80px 55px;
  border-bottom: 1px solid var(--line);
}

.page-intro h1 {
  font-size: clamp(44px, 5vw, 65px);
}

.lead {
  max-width: 550px;
  font-size: 18px;
  margin: 0;
}

.image-band {
  background: white;
  margin: 45px 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 40px;
}

.image-band img {
  width: 52%;
  max-width: 500px;
}

.image-band span {
  font-family: Georgia, serif;
  font-size: 28px;
  max-width: 200px;
  line-height: 1.4;
}

.article-section {
  padding-top: 65px;
  padding-bottom: 65px;
  border-bottom: 1px solid var(--line);
}

.article-section h2 {
  font-size: 36px;
}

/* TECHNOLOGY PAGE */
.technology-layout {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 80px;
  padding: 65px 80px;
}

.technology-layout aside {
  align-self: start;
  position: sticky;
  top: 35px;
}

.technology-layout aside nav a {
  display: flex;
  font-size: 12px;
  line-height: 1.5;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}

.technology-layout aside nav a:hover {
  color: var(--orange);
}

.technology-layout aside nav span {
  font-size: 10px;
  color: var(--orange);
  padding-top: 2px;
}

.system-mark {
  margin-top: 35px;
  border: 1px solid var(--line);
  padding: 30px;
  text-align: center;
}

.system-mark > span {
  display: block;
  width: 85px;
  margin: 0 auto 18px;
  padding: 20px 5px;
  border: 1px solid var(--orange);
  font-size: 12px;
  letter-spacing: 0.15em;
}

.system-mark small {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}

.technology-section {
  padding-bottom: 45px;
  margin-bottom: 45px;
  border-bottom: 1px solid var(--line);
}

.technology-section h2 {
  font-size: 38px;
}

.technology-section .eyebrow {
  margin-bottom: 15px;
}

.technology-section:last-child {
  margin-bottom: 0;
  border: 0;
}

.draft-note {
  font-size: 11px;
  color: var(--muted);
  background: var(--soft);
  padding: 12px 80px;
}

/* PROCESS PAGE */
.timeline {
  padding: 0 80px 70px 34%;
}

.stage {
  position: relative;
  border-left: 1px solid #cc9a7d;
  padding: 0 0 65px 55px;
}

.stage:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.stage-number {
  position: absolute;
  left: -21px;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cc9a7d;
  background: var(--paper);
  font-size: 12px;
  color: var(--orange);
}

.stage .eyebrow {
  padding-top: 8px;
  margin-bottom: 18px;
}

.stage h2 {
  font-size: 34px;
}

.stage p {
  max-width: 580px;
}

.timing {
  background: var(--soft);
  padding: 50px 80px;
  margin-bottom: 70px;
}

.timing p {
  max-width: 650px;
  margin-bottom: 0;
}

/* CONTACT PAGE */
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  padding: 80px;
}

.contact-details h2 {
  font-size: 30px;
}

.contact-details address {
  font-style: normal;
  color: var(--muted);
  margin-bottom: 30px;
}

.email-link {
  font-size: 16px;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 8px;
}

.contact-details p {
  margin-top: 50px;
  font-size: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

label {
  display: block;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 23px;
}

input,
textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #aaafa6;
  border-radius: 0;
  padding: 10px 0;
  color: var(--ink);
  margin-top: 5px;
  font-size: 16px;
}

textarea {
  resize: vertical;
  border: 1px solid var(--line);
  padding: 12px;
  margin-top: 12px;
}

.optional {
  color: var(--muted);
}

.form-note,
#form-status {
  font-size: 12px;
}

/* FOOTER */
footer {
  max-width: var(--max);
  margin: auto;
  padding: 60px 48px 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  font-size: 12px;
}

.footer-top .brand {
  font-size: 20px;
}

.members {
  display: flex;
  align-items: center;
  gap: 18px;
}

.members > span {
  font-size: 10px;
  color: var(--muted);
}

.members img {
  object-fit: contain;
  max-width: 90px;
  max-height: 55px;
  filter: grayscale(1);
}

.footer-bottom {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}

/* Collapse navigation and editorial columns before they become cramped. */
@media (max-width: 1050px) {
  header {
	padding: 25px 30px;
	flex-wrap: wrap;
  }

  header nav {
	gap: 24px;
  }

  .brand {
	font-size: 22px;
  }

  .home-hero {
	padding: 50px 30px;
	gap: 20px;
  }

  .hero-copy h1 {
	font-size: 52px;
  }

  .principles {
	margin: 0 30px;
  }

  .editorial {
	padding: 70px 45px;
	gap: 50px;
  }

  .page-intro {
	padding: 60px 45px;
  }

  .technology-layout {
	padding: 50px 45px;
	gap: 40px;
	grid-template-columns: 240px 1fr;
  }

  .contact-layout {
	padding: 60px 45px;
	gap: 50px;
  }

  .footer-top {
	flex-wrap: wrap;
  }

  .timeline {
	padding-left: 25%;
  }
}

/* RESPONSIVE LAYOUT - MOBILE */
@media (max-width: 700px) {
  body {
	font-size: 15px;
  }

  header {
	padding: 23px 22px;
	gap: 20px;
	align-items: center;
  }

  .brand {
	font-size: 21px;
  }

  .brand span {
	white-space: normal;
	font-size: 8px;
	max-width: 240px;
  }

  .menu-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 0;
	background: transparent;
	font-size: 12px;
	padding: 8px 0;
	color: var(--ink);
  }

  header nav {
	display: none;
	width: 100%;
	flex-direction: column;
	gap: 0;
	padding-top: 10px;
  }

  header nav.open {
	display: flex;
  }

  header nav a {
	padding: 12px 0;
	border-top: 1px solid var(--line);
  }

  header nav a:after {
	display: none;
  }

  header nav a[aria-current] {
	color: var(--orange);
  }

  .home-hero {
	display: block;
	padding: 45px 22px 25px;
	min-height: 0;
  }

  .hero-copy h1 {
	font-size: 47px;
  }

  .hero-copy p {
	font-size: 16px;
  }

  .hero-image {
	margin-top: 40px;
	padding-top: 15px;
  }

  .hero-image figcaption {
	font-size: 7px;
	margin-top: 20px;
  }

  .principles {
	margin: 0 22px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	font-size: 8px;
  }

  .principles span + span:before {
	display: none;
  }

  .editorial {
	display: block;
	padding: 55px 25px;
  }

  .editorial h2 {
	margin-bottom: 30px;
  }

  .explore {
	padding: 40px 25px;
  }

  .explore > a {
	gap: 18px;
  }

  .explore h2 {
	font-size: 26px;
  }

  .explore p {
	font-size: 12px;
  }

  .arrow {
	font-size: 25px;
  }

  .quote {
	padding: 60px 25px;
  }

  .cta {
	padding: 40px 25px;
	align-items: start;
	flex-direction: column;
	gap: 30px;
  }

  .cta h2 {
	font-size: 32px;
  }

  .page-intro {
	padding: 50px 25px 40px;
  }

  .page-intro h1 {
	font-size: 45px;
  }

  .lead {
	font-size: 16px;
  }

  .image-band {
	margin: 30px 25px 0;
	padding: 20px;
	display: block;
  }

  .image-band img {
	width: 100%;
  }

  .image-band span {
	display: block;
	font-size: 22px;
	margin: 15px 0;
  }

  .technology-layout {
	display: block;
	padding: 40px 25px;
  }

  .technology-layout aside {
	position: static;
	margin-bottom: 45px;
  }

  .technology-layout aside nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 15px;
  }

  .system-mark {
	display: none;
  }

  .technology-section h2 {
	font-size: 32px;
  }

  .draft-note {
	padding: 12px 25px;
  }

  .timeline {
	padding: 0 25px 45px 45px;
  }

  .stage {
	padding-left: 34px;
	padding-bottom: 40px;
  }

  .stage h2 {
	font-size: 29px;
  }

  .timing {
	padding: 35px 25px;
	margin-bottom: 40px;
  }

  .contact-layout {
	display: block;
	padding: 45px 25px;
  }

  .contact-details {
	margin-bottom: 45px;
  }

  .contact-details p {
	margin-top: 30px;
  }

  .form-row {
	gap: 18px;
  }

  footer {
	padding: 40px 25px 20px;
  }

  .footer-top {
	display: grid;
	gap: 30px;
  }

  .members img {
	max-width: 78px;
  }

  .footer-bottom {
	font-size: 9px;
	gap: 20px;
  }
}

/* ACCESSIBILITY - REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html {
	scroll-behavior: auto;
  }

  * {
	transition: none !important;
  }
}

/* Allow the longer brand subheadings to wrap without widening navigation. */
header .brand span {
  white-space: normal;
  line-height: 1.5;
}

footer .brand span {
  white-space: normal;
  max-width: 260px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  header .brand span {
	max-width: 240px;
  }
}

/* Inner-page introductions share the homepage's text-and-image composition. */
.inner-hero {
  border-bottom: 1px solid var(--line);
}

.inner-hero h1 {
  font-size: clamp(42px, 4.5vw, 62px);
}

.inner-hero .lead {
  max-width: 410px;
}

.inner-hero .hero-image figcaption {
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 18px 15px;
  color: var(--muted);
}

/* RESPONSIVE LAYOUT - TABLET */
@media (max-width: 1050px) {
  .inner-hero h1 {
	font-size: 46px;
  }
}

@media (max-width: 700px) {
  .inner-hero h1 {
	font-size: 42px;
  }

  .inner-hero .hero-image figcaption {
	font-size: 10px;
  }
}

/* Contact feedback replaces the form after success and retains inputs on failure. */
[hidden] {
  display: none !important;
}

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

.field-error {
  display: block;
  color: #a33120;
  font-size: 12px;
  margin-top: 6px;
}

[aria-invalid="true"] {
  border-color: #a33120;
}

#form-status:not(:empty) {
  border-left: 2px solid var(--orange);
  padding: 12px 15px;
  margin-bottom: 22px;
  background: var(--soft);
}

#form-status a {
  text-decoration: underline;
}

#contact-success {
  padding: 30px 0;
}

#contact-success h2 {
  font-size: 34px;
}

.text-button {
  border: 0;
  border-bottom: 1px solid var(--orange);
  background: transparent;
  padding: 8px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 13px;
}

.button:disabled {
  opacity: 0.65;
  cursor: wait;
}
