/* Vocal Capital — shared site styles */

@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/muli-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Muli';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/muli-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/playfair-italic.woff2') format('woff2');
}

:root {
  --gold: #c9962e;
  --gold-bright: #fcb040;
  --ink: #211f20;
  --text: #3a3a3a;
  --text-muted: #767676;
  --border: #e4e0da;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Muli', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

p {
  margin: 0 0 1.5em;
}

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

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .wrapper {
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.site-branding img {
  width: 56px;
  height: 56px;
}

.site-identity {
  line-height: 1.3;
}

.site-title {
  font-family: 'Muli', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-description {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 2px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Header photo banner */

.header-photo {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center top;
}

/* Main content */

.site-main {
  padding: 56px 0 72px;
}

.entry-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 1em;
}

.caption {
  font-style: italic;
  color: var(--text-muted);
  font-size: 15px;
}

.rounded-photo {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 2.5em auto;
  max-width: 420px;
}

/* Booking / contact intro */

.intro {
  text-align: center;
  margin-bottom: 2.5em;
}

.phone-link {
  font-weight: 700;
  white-space: nowrap;
}

/* Form */

.booking-form {
  display: grid;
  gap: 20px;
}

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

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group .required {
  color: var(--gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--text);
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.submit-button {
  justify-self: start;
  background: var(--ink);
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 999px;
  cursor: pointer;
}

.submit-button:hover {
  background: var(--gold);
}

.form-notice {
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 15px;
}

.form-notice.success {
  background: #f2f7ee;
  border: 1px solid #b9d99a;
  color: #345a1c;
}

.form-notice.error {
  background: #fbeeee;
  border: 1px solid #e3a9a9;
  color: #7a2222;
}

.form-notice[hidden] {
  display: none;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #bdbdbd;
  padding: 40px 0;
  margin-top: auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.social-links a:hover {
  background: var(--gold);
  text-decoration: none;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-info {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.site-info a {
  color: #fff;
  font-weight: 700;
}

html, body {
  height: 100%;
}

.site {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 640px) {
  .site-header .wrapper {
    justify-content: center;
    text-align: center;
  }
  .main-navigation ul {
    justify-content: center;
    gap: 20px;
  }
  .entry-title {
    font-size: 26px;
  }
}
