:root {
  --ink: #333333;
  --muted: #666666;
  --coral: #ff7f50;
  --paper: #f7f5f2;
  --white: #ffffff;
  --warm-gray: #e3dfdb;
  --border: #d7d2cd;
  --pale-coral: #fff3ee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.65rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--border);
}

.brand img {
  width: 148px;
  height: auto;
}

nav {
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.5rem);
  font-size: 0.88rem;
  font-weight: 650;
}

nav a,
footer a {
  position: relative;
}

nav a::after,
footer a::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after,
footer a:hover::after,
footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  max-width: 1440px;
  min-height: 700px;
  margin: 0 auto;
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 9vw, 9rem) clamp(2rem, 7vw, 7.5rem);
}

.eyebrow,
.section-label {
  margin: 0 0 1.35rem;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 6.3vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--coral);
  border-color: var(--coral);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--white);
}

.market-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-art {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--warm-gray);
  border-left: 1px solid var(--border);
}

.tile-wall {
  position: absolute;
  inset: 7% 8% 19% 8%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 28px 70px rgba(51, 51, 51, 0.16);
  transform: rotate(-2.5deg);
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0%, #f1eeea 52%, #d8d2cd 100%);
}

.tile::after {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle at 20% 70%, rgba(255, 127, 80, 0.13), transparent 30%),
    linear-gradient(120deg, transparent 36%, rgba(51, 51, 51, 0.08) 37%, transparent 40%);
  content: "";
}

.tile-two,
.tile-five {
  background: linear-gradient(145deg, #f6f2ee 0%, #fff 45%, #ddd5cf 100%);
}

.tile-three,
.tile-six {
  background: linear-gradient(135deg, #fff8f4 0%, #e9e3de 55%, #fff 100%);
}

.design-note {
  position: absolute;
  right: 8%;
  bottom: 7%;
  left: 38%;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.2rem 1.35rem;
  background: var(--ink);
  color: var(--white);
}

.design-note span {
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 800;
}

.design-note p {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.section {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 4vw, 4.5rem);
  border-top: 1px solid var(--border);
}

.section-label {
  padding-top: 0.55rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.about-grid h2,
.approach h2 {
  max-width: 760px;
}

.about-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy p + p {
  margin-top: 1.3rem;
}

.approach {
  background: var(--white);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.principles article {
  min-height: 260px;
  padding: 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.principles span {
  display: inline-block;
  margin-bottom: 4rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
}

.principles p {
  margin: 0;
  color: var(--muted);
}

.markets {
  background: var(--ink);
  color: var(--white);
}

.market-grid {
  display: grid;
  grid-template-columns: 0.5fr 0.5fr 1fr;
  align-items: end;
  gap: 1rem;
}

.market-grid > div {
  min-height: 220px;
  padding: 1.7rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.market-code {
  margin-bottom: 6rem;
  color: var(--coral);
  font-size: 2.8rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.market-grid h3 {
  margin: 0;
}

.market-copy {
  max-width: 400px;
  margin: 0 0 0 2rem;
  color: #c8c4c0;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 3rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 7.5rem);
}

.contact-section h2 {
  margin-bottom: 1rem;
}

.contact-section > div > p:last-child {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 700;
}

.contact-link span {
  color: var(--coral);
  font-size: 2rem;
  transition: transform 160ms ease;
}

.contact-link:hover span,
.contact-link:focus-visible span {
  transform: translate(3px, -3px);
}

.privacy {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem clamp(1.25rem, 7vw, 7.5rem);
  background: var(--pale-coral);
  border-top: 1px solid var(--border);
}

.privacy h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.privacy p {
  max-width: 900px;
  color: var(--muted);
}

.privacy-date {
  margin-bottom: 0;
  font-size: 0.85rem;
}

footer {
  display: grid;
  grid-template-columns: 0.5fr 1fr auto;
  align-items: end;
  gap: 2rem;
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 4.5rem);
  background: var(--white);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

footer img {
  width: 128px;
}

footer p {
  margin: 0.15rem 0;
  color: var(--muted);
}

footer a {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid rgba(255, 127, 80, 0.55);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 540px;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .section {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article {
    min-height: auto;
  }

  .principles span {
    margin-bottom: 2.5rem;
  }

  .market-grid {
    grid-template-columns: 1fr 1fr;
  }

  .market-copy {
    grid-column: 1 / -1;
    margin: 2rem 0 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 1rem;
  }

  .brand img {
    width: 120px;
  }

  nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
  }

  .hero {
    min-height: 0;
    border-right: 0;
    border-left: 0;
  }

  .hero-copy {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 4.5rem);
  }

  .hero-art {
    min-height: 430px;
  }

  .design-note {
    left: 18%;
  }

  .section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .market-copy {
    grid-column: auto;
  }

  .contact-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .contact-link {
    font-size: 0.95rem;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
