:root {
  --bg: #f5f0e6;
  --surface: #fcf8f0;
  --surface-strong: #ffffff;
  --ink: #1f2b25;
  --muted: rgba(31, 43, 37, 0.72);
  --line: rgba(84, 110, 92, 0.18);
  --gold: #b9914f;
  --green: #6e8d73;
  --shadow: 0 22px 48px rgba(39, 48, 39, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(185, 145, 79, 0.08), transparent 22%),
    linear-gradient(180deg, #f8f3eb 0%, #f5efe5 46%, #f7f2e9 100%);
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 243, 235, 0.9);
  border-bottom: 1px solid rgba(84, 110, 92, 0.12);
  backdrop-filter: blur(14px);
}

.header-shell,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-shell {
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 16px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-kicker,
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}

.brand-copy strong {
  font-size: 0.94rem;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 242, 233, 0.84) 0%, rgba(247, 242, 233, 0.5) 42%, rgba(247, 242, 233, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(247, 242, 233, 0.18));
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: 72px 0;
}

.hero-card {
  max-width: 700px;
  padding: 42px 42px 38px;
  border: 1px solid rgba(84, 110, 92, 0.14);
  border-radius: 30px;
  background: rgba(252, 248, 240, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero h1,
.section-heading h2,
.section-copy h2,
.quality-copy h2,
.division-copy h3,
.capability-card h3,
.why-card h3,
.stats-panel strong {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(3rem, 5vw, 5rem);
  color: #1c2b23;
}

.hero-text,
.section-copy p,
.stats-panel p,
.division-copy p,
.capability-card p,
.quality-copy p,
.why-card p,
.footer-copy,
.copyright {
  color: var(--muted);
  line-height: 1.78;
}

.hero-text {
  max-width: 40rem;
  margin-top: 18px;
  font-size: 1.06rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  padding: 10px 14px;
  border: 1px solid rgba(84, 110, 92, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero-points span:hover,
.framed:hover {
  transform: translateY(-4px);
}

.section {
  padding: 34px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.section-copy h2,
.quality-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  color: #1f3026;
}

.intro-grid,
.capabilities-grid,
.quality-grid,
.app-grid {
  display: grid;
  gap: 24px;
}

.intro-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.capabilities-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.quality-grid {
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
}

.app-grid {
  grid-template-columns: 1.02fr 0.98fr;
  overflow: hidden;
}

.framed {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.framed:hover {
  border-color: rgba(84, 110, 92, 0.28);
  box-shadow: 0 26px 56px rgba(39, 48, 39, 0.14);
}

.section-copy.framed,
.stats-panel,
.quality-copy {
  padding: 34px;
}

.stats-panel {
  display: grid;
  gap: 22px;
}

.stats-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  color: var(--gold);
}

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

.division-card {
  overflow: hidden;
}

.division-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.division-image img,
.quality-image img,
.app-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.division-card:hover img,
.quality-grid:hover img,
.app-grid:hover img {
  transform: scale(1.03);
  filter: saturate(1.04);
}

.division-copy {
  padding: 24px 28px 28px;
}

.division-copy h3,
.capability-card h3,
.why-card h3 {
  margin: 0 0 10px;
  font-size: 2rem;
  color: #23362b;
}

.capability-list,
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.capability-card,
.why-card {
  padding: 28px;
}

.quality-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quality-points {
  margin: 24px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.quality-image {
  min-height: 100%;
}

.app-visual {
  min-height: 100%;
}

.app-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.app-copy h2,
.contact-card h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.app-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  color: #1f3026;
}

.app-copy > p {
  color: var(--muted);
  line-height: 1.78;
}

.app-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(84, 110, 92, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
}

.app-card img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(39, 48, 39, 0.12);
}

.app-meta strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: var(--ink);
}

.app-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.app-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  margin-top: 24px;
  min-width: 158px;
  padding: 14px 24px;
  border-radius: 18px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.app-button-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.app-button-copy span {
  font-size: 0.78rem;
  opacity: 0.8;
}

.app-button-copy strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.apple-mark {
  width: 24px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.app-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(17, 17, 17, 0.16);
}

.contact-wrap {
  display: grid;
  gap: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-areas:
    "address email"
    "address company";
  gap: 22px;
  align-items: stretch;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
}

.contact-card:nth-child(1) {
  grid-area: address;
}

.contact-card:nth-child(2) {
  grid-area: email;
}

.contact-card:nth-child(3) {
  grid-area: company;
}

.contact-card h3 {
  margin: 16px 0 10px;
  font-size: 2rem;
  color: #23362b;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
}

.contact-card span {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
  max-width: 34ch;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(185, 145, 79, 0.14), rgba(110, 141, 115, 0.14));
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-grid {
  display: grid;
  gap: 10px;
}

.site-footer {
  padding: 18px 0 44px;
}

.footer-shell {
  display: grid;
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(84, 110, 92, 0.14);
}

.copyright {
  margin: 10px 0 0;
  padding-top: 0;
  border-top: 0;
  text-align: center;
  white-space: normal;
}

@media (max-width: 1080px) {
  .intro-grid,
  .app-grid,
  .capabilities-grid,
  .quality-grid,
  .division-grid,
  .capability-list,
  .why-cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quality-image {
    min-height: 420px;
  }

  .copyright {
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 22px), var(--max));
  }

  .header-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-shell {
    min-height: auto;
    padding: 72px 0 42px;
  }

  .hero-card,
  .section-copy.framed,
  .stats-panel,
  .quality-copy,
  .app-copy,
  .capability-card,
  .why-card,
  .contact-card {
    padding: 24px;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.85rem;
  }

  .footer-nav,
  .copyright {
    justify-content: center;
    text-align: center;
  }
}
