@font-face {
  font-family: Barlow;
  src: url('./assets/barlow-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url('./assets/barlow-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/barlow-condensed-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #151613;
  --foreground: #f1f0e8;
  --muted: #b0b2a7;
  --accent: #e6b75e;
  --accent-hover: #f3cb82;
  --rule: #3e4138;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Barlow, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--background); }
p, h1, h2 { margin: 0; }

.page {
  width: min(100%, 100rem);
  min-height: 100svh;
  margin-inline: auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--rule);
}

.brand-logo {
  display: block;
  width: 7rem;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}

.location, .eyebrow, .services h2, .footer { color: var(--muted); }
.location { font-size: .9375rem; }
main { flex: 1; display: flex; flex-direction: column; }

.title-card {
  position: relative;
  display: grid;
  gap: 2.5rem;
  flex: 1;
  padding: 3rem 0;
}

.eyebrow { font-size: 1rem; line-height: 1.5; margin-bottom: 1.35rem; }

h1 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-weight: 600;
  font-size: clamp(5.5rem, 4rem + 8vw, 12.5rem);
  line-height: .88;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.title-card > * { min-width: 0; }
h1 { overflow-wrap: anywhere; }
h1 > span { display: block; }
.accent { color: var(--accent); }
.introduction { max-width: 26rem; align-self: end; }
.intro-heading { font-weight: 600; font-size: clamp(1.4rem, 1.2rem + .4vw, 1.625rem); line-height: 1.3; }
.intro-copy { color: var(--muted); margin-top: 1rem; font-size: 1.0625rem; line-height: 1.6; }

.contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  max-width: 100%;
  margin-top: 1.75rem;
  padding: .9rem 1.5rem;
  background: var(--accent);
  color: var(--background);
  border: 2px solid transparent;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease;
}

.contact:hover { background: var(--accent-hover); }
.contact:active { background: var(--foreground); }
.contact:focus-visible { outline: 2px solid var(--foreground); outline-offset: 5px; }

.frame-corner { display: none; position: absolute; width: 1.5rem; height: 1.5rem; border-color: var(--muted); border-style: solid; pointer-events: none; }
.corner-top { top: 2rem; right: 0; border-width: 1px 1px 0 0; }
.corner-bottom { bottom: 2rem; left: 0; border-width: 0 0 1px 1px; }

.services {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.5rem;
  display: flex;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}

.services h2 { font-size: .9375rem; font-weight: 400; }
.services ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; }
.services li { font-size: 1.125rem; line-height: 1.4; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1.5rem; font-size: .875rem; }

@media (min-width: 52rem) {
  .page { padding-inline: clamp(2.5rem, 6vw, 7rem); }
  .masthead { padding-block: 2.5rem; }
  .brand-logo { width: 8rem; }
  .title-card { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: 5rem 2rem; min-height: 36rem; }
  .introduction { padding-bottom: .25rem; }
  .frame-corner { display: block; }
  .services { padding-block: 1.8rem; }
  .services ul { gap: 3rem; }
  .services li { font-size: 1.25rem; }
  .footer { padding-block: 1.7rem; }
}

@media (min-width: 80rem) {
  .title-card { min-height: 39rem; padding-block: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
