:root {
  --black: #050403;
  --ink: #130d09;
  --espresso: #241509;
  --brown: #4b3626;
  --cocoa: #6a5647;
  --linen: #f3eee4;
  --paper: #fffdf7;
  --sand: #c1aa8d;
  --line: rgba(243, 238, 228, 0.2);
  --dark-line: rgba(19, 13, 9, 0.18);
  --shadow: 0 28px 90px rgba(5, 4, 3, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--linen);
  background:
    linear-gradient(90deg, var(--black) 0 18%, var(--brown) 18% 34%, var(--espresso) 34% 100%);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(5, 4, 3, 0.55), rgba(5, 4, 3, 0.55)),
    url("https://images.unsplash.com/photo-1516979187457-637abb4f9353?auto=format&fit=crop&w=1800&q=76") center / cover;
  opacity: 0.38;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 22px;
  left: 50%;
  width: min(1180px, calc(100% - 28px));
  min-height: 68px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 18px;
  color: var(--linen);
  background: rgba(19, 13, 9, 0.9);
  border: 1px solid rgba(243, 238, 228, 0.16);
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(5, 4, 3, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--espresso);
  background: var(--linen);
  border: 1px solid rgba(193, 170, 141, 0.5);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  color: rgba(243, 238, 228, 0.68);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 10px 12px;
  color: rgba(243, 238, 228, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--paper);
  background: rgba(243, 238, 228, 0.08);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 132px max(22px, calc((100vw - 1180px) / 2)) 78px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 12% 0 auto 0;
  height: 38%;
  content: "";
  background: var(--brown);
  opacity: 0.82;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) contrast(1.08) brightness(0.68);
}

.hero-logo-image {
  object-fit: cover;
  filter: none;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.86), rgba(36, 21, 9, 0.54), rgba(5, 4, 3, 0.76)),
    linear-gradient(0deg, rgba(5, 4, 3, 0.82), rgba(5, 4, 3, 0.1) 54%, rgba(5, 4, 3, 0.78));
}

.hero-panel {
  position: relative;
  width: min(860px, 100%);
  padding: 76px 34px 58px;
  text-align: center;
  border: 1px solid rgba(243, 238, 228, 0.18);
  background: rgba(19, 13, 9, 0.64);
  box-shadow: var(--shadow);
}

.script-line {
  margin: 0 0 8px;
  color: var(--linen);
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sand);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

p {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}

h1 {
  font-size: clamp(3.8rem, 10vw, 8rem);
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 5.3rem);
  letter-spacing: 0.02em;
}

h3 {
  font-size: 1.72rem;
}

.hero-copy {
  max-width: 680px;
  margin: 20px auto 0;
  color: rgba(243, 238, 228, 0.8);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  color: var(--ink);
  background: var(--linen);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--sand);
}

.button.secondary {
  color: var(--linen);
  border-color: rgba(243, 238, 228, 0.42);
  background: rgba(243, 238, 228, 0.05);
}

section:not(.hero) {
  padding: 94px max(22px, calc((100vw - 1180px) / 2));
}

.attorney-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 76px;
  align-items: center;
  background: var(--espresso);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portrait-frame {
  padding: 18px;
  background: var(--black);
  border: 1px solid rgba(243, 238, 228, 0.14);
}

.portrait-frame img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.52) contrast(1.08) brightness(0.78);
}

.attorney-copy h2 span {
  display: block;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 400;
  line-height: 0.72;
  text-transform: none;
}

.attorney-copy .eyebrow {
  position: relative;
  top: -44px;
  margin-bottom: 34px;
}

.attorney-copy p,
.process-grid p,
.contact-copy p,
.form-note {
  color: rgba(243, 238, 228, 0.72);
}

.mark-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.mark-list li {
  position: relative;
  padding-left: 26px;
  color: var(--linen);
  font-size: 0.9rem;
}

.mark-list li::before {
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--sand);
}

.services-section {
  background: var(--black);
}

.section-banner {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 0;
  border: 1px solid rgba(243, 238, 228, 0.14);
  text-align: center;
}

.section-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.42) contrast(1.1) brightness(0.46);
}

.section-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(5, 4, 3, 0.44);
}

.section-banner div {
  position: relative;
  z-index: 1;
}

.section-title-italic {
  font-style: italic;
  text-transform: none;
}

.service-list {
  width: min(760px, 100%);
  margin: -1px auto 0;
  padding: 36px;
  color: var(--ink);
  background: var(--paper);
}

.service-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: -1px;
  background: rgba(243, 238, 228, 0.22);
}

.service-card-link {
  display: grid;
  min-height: 330px;
  align-content: space-between;
  gap: 26px;
  padding: 30px;
  color: var(--ink);
  background: var(--paper);
  transition: transform 180ms ease, background-color 180ms ease;
}

.service-card-link:hover,
.service-card-link:focus-visible {
  background: #f6ead9;
  transform: translateY(-3px);
}

.service-card-link span {
  color: var(--cocoa);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.service-card-link h3 {
  color: var(--ink);
  font-size: 1.54rem;
  line-height: 1.02;
  max-width: 13ch;
}

.service-card-link p {
  margin: 12px 0 24px;
  color: #4f453d;
  font-size: 0.92rem;
  max-width: 30ch;
}

.service-card-link strong {
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--dark-line);
  scroll-margin-top: 120px;
}

.service-item:last-child {
  border-bottom: 0;
}

.service-item span,
.process-grid span {
  color: var(--cocoa);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.service-item h3 {
  color: var(--ink);
}

.service-item p {
  margin: 10px 0 0;
  color: #4f453d;
  font-size: 0.92rem;
}

.service-details {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-details li {
  position: relative;
  padding-left: 22px;
  color: #332820;
  font-size: 0.9rem;
}

.service-details li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--cocoa);
}

.process-section {
  background: var(--brown);
}

.page-hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: 140px max(22px, calc((100vw - 1180px) / 2)) 86px;
  overflow: hidden;
}

.page-hero-content {
  position: relative;
  width: min(880px, 100%);
  padding: 42px;
  background: rgba(19, 13, 9, 0.7);
  border: 1px solid rgba(243, 238, 228, 0.18);
  box-shadow: var(--shadow);
}

.page-hero-content-centered {
  margin: 0 auto;
  text-align: center;
  width: min(1120px, 100%);
  display: grid;
  justify-items: center;
}

.page-hero-content-centered p:last-child {
  margin-left: auto;
  margin-right: auto;
}

.single-line-title {
  display: inline-block;
  white-space: nowrap;
  max-width: none;
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  line-height: 1;
}

.real-estate-hero {
  justify-items: center;
}

.real-estate-hero-content {
  width: min(1240px, calc(100% - 24px));
}

.real-estate-title {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.immigration-hero-content {
  width: min(1160px, calc(100% - 24px));
}

.immigration-title {
  font-size: clamp(2.05rem, 3.9vw, 3.5rem);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}


.page-hero-content p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(243, 238, 228, 0.78);
}

.service-page-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: 60px;
  align-items: start;
  background: var(--espresso);
}

.service-page-copy {
  position: sticky;
  top: 124px;
}

.service-page-copy p {
  color: rgba(243, 238, 228, 0.72);
}

.detail-panel {
  display: grid;
  gap: 1px;
  color: var(--ink);
  background: rgba(243, 238, 228, 0.2);
}

.detail-panel article {
  padding: 30px;
  background: var(--paper);
  overflow: hidden;
}

.detail-panel h3 {
  color: var(--ink);
}

.detail-panel p {
  margin: 12px 0 0;
  color: #4f453d;
  max-width: 42ch;
}

.page-cta {
  display: grid;
  gap: 20px;
  justify-items: start;
  background: var(--brown);
}

.page-cta h2 {
  max-width: 900px;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 42px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(243, 238, 228, 0.2);
}

.process-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--espresso);
}

.process-grid h3 {
  margin-top: 34px;
}

blockquote {
  max-width: 940px;
  margin: 0 auto;
}

blockquote p {
  margin: 0;
  color: var(--linen);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 5.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 66px;
  background: var(--espresso);
}

address {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: var(--linen);
  font-style: normal;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
}

address a:hover,
address a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--sand);
}

.contact-form {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 28px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8f2e8;
  border: 1px solid var(--dark-line);
  border-radius: 0;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(106, 86, 71, 0.24);
  border-color: var(--cocoa);
}

.contact-form .button.primary {
  border: 1px solid var(--ink);
  color: var(--linen);
  background: var(--ink);
}

.form-note {
  margin: -2px 0 0;
  color: #75685d;
  font-size: 0.78rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(22px, calc((100vw - 1180px) / 2));
  color: rgba(243, 238, 228, 0.7);
  background: var(--black);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-toggle {
    display: inline-grid;
    grid-template-columns: 18px auto;
    align-items: center;
    gap: 4px 8px;
    min-height: 44px;
    padding: 8px 10px;
    color: var(--linen);
    background: transparent;
    border: 1px solid rgba(243, 238, 228, 0.28);
    border-radius: 0;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle span:nth-child(1),
  .nav-toggle span:nth-child(2),
  .nav-toggle span:nth-child(3) {
    grid-column: 1;
  }

  .nav-toggle {
    grid-auto-flow: column;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 10px;
    background: rgba(19, 13, 9, 0.98);
    border: 1px solid rgba(243, 238, 228, 0.16);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 124px;
  }

  .hero-panel {
    padding: 56px 22px 42px;
  }

  .attorney-section,
  .contact-section,
  .service-page-section {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .service-overview {
    grid-template-columns: 1fr;
  }

  .service-page-copy {
    position: static;
  }

  .page-hero {
    min-height: 68vh;
    padding-top: 124px;
  }

  .page-hero-content {
    padding: 30px;
  }

  .portrait-frame img {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  section:not(.hero) {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service-list,
  .contact-form {
    padding: 22px;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
