/* Arcane Aspects Inc. preview site. Official primary palette (black on ivory). System fonts only. */

:root {
  --black: #171717;
  --ivory: #F6F0E4;
  --gold: #C7A15B;
  --burgundy: #57151E;
  --white: #FFFFFF;
  --muted: #4A4743;
  --rule: #D9D0C2;
  --focus: #57151E;
  --max: 40rem;
  --wide: 56rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--burgundy);
}

a:hover {
  color: var(--black);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
#sms-consent:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.75rem;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--white);
}

.inner {
  width: min(var(--wide), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--ivory);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(260px, 70vw);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  border-bottom-color: var(--gold);
}

.hero {
  padding: 3rem 0 3.25rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}

.hero .inner {
  width: min(var(--max), calc(100% - 2.5rem));
}

.hero-mark {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.65;
}

.place {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-contact {
  margin: 0.5rem 0 0;
}

.services,
.contact,
.legal {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.services .inner,
.contact .inner,
.legal .inner {
  width: min(var(--max), calc(100% - 2.5rem));
}

h2 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

h3 {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.services article + article {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.services p,
.contact p,
.legal p,
.legal li {
  margin: 0 0 1rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.65rem;
}

.contact-form {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid #C4B9A8;
  border-radius: 2px;
  background: var(--white);
  color: var(--black);
  font: inherit;
}

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

.consent {
  margin: 1.5rem 0;
  padding: 1.1rem 1rem 1rem;
  border: 1px solid var(--rule);
  background: #FBF7EE;
}

.consent legend {
  float: left;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.1rem;
  line-height: 1.3;
}

.consent legend + * {
  clear: both;
}

.consent p {
  font-size: 0.98rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.check-row input {
  margin-top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  accent-color: var(--burgundy);
}

.check-row label {
  font-size: 0.98rem;
}

button[type="submit"] {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--ivory);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--white);
}

.site-footer {
  padding: 2rem 0 2.5rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 0.4rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--black);
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .inner,
  .hero .inner,
  .services .inner,
  .contact .inner,
  .legal .inner {
    width: calc(100% - 1.75rem);
  }

  .hero {
    padding: 2.25rem 0 2.5rem;
  }

  .hero-mark {
    width: 96px;
  }

  .header-inner {
    padding: 0.85rem 0;
  }

  .nav {
    gap: 0.55rem 0.9rem;
    font-size: 0.9rem;
  }

  .services,
  .contact,
  .legal {
    padding: 2.15rem 0;
  }
}

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