/* Murphy & Co holding page */

:root {
  --blue: #1b3a9c;
  --blue-hover: #10276f;
  --logo-blue: #1d4b94;
  --ink: #161b2e;
  --body-grey: #454b60;
  --muted-grey: #7d8296;
  --label-tint: #c9d3f5;
  --page-bg: #fbfaf7;
  --white: #ffffff;

  --font-sans: 'Public Sans', Helvetica, Arial, sans-serif;
  --font-display: 'Libre Caslon Display', Georgia, serif;
  --font-text: 'Libre Caslon Text', Georgia, serif;
  --font-logo: Cambria, 'Source Serif 4', Georgia, serif;

  --panel-padding: clamp(32px, 6vw, 80px);
}

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

html,
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
}

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

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

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout */

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
}

/* Left panel: intro */

.intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  padding: var(--panel-padding);
  background: var(--white);
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  align-self: flex-start;
  color: var(--logo-blue);
  font-family: var(--font-logo);
  font-weight: 400;
}

.logo__name {
  font-size: clamp(40px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.logo__tagline {
  display: flex;
  justify-content: space-between;
  font-size: clamp(13px, 1.3vw, 17px);
  line-height: 1;
}

.logo__space {
  width: 0.4em;
}

.intro__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 560px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 36px;
  height: 2px;
  background: var(--blue);
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.lede {
  margin: 0;
  font-family: var(--font-text);
  font-size: 19px;
  line-height: 1.6;
  color: var(--body-grey);
  text-wrap: pretty;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px;
  color: var(--muted-grey);
}

/* Right panel: contact */

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  padding: var(--panel-padding);
  background: var(--blue);
  color: var(--white);
}

.contact a {
  color: var(--white);
  transition: opacity 0.15s ease;
}

.contact a:hover {
  color: var(--white);
  opacity: 0.75;
}

.contact h2 {
  margin: 0;
  font-family: var(--font-text);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label-tint);
}

.field__phone {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1;
}

.field__email {
  align-self: flex-start;
  max-width: 100%;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-family: var(--font-text);
  font-size: clamp(20px, 2vw, 26px);
  overflow-wrap: anywhere;
}

.divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.22);
}

.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}

address,
.field__text {
  font-style: normal;
  font-size: 16px;
  line-height: 1.65;
}

.directions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
