/* ------------------------------------------------------------------
   Estate Atelier — proposed homepage additions (preview, Nov 20 2026):
   property potential, the founder's philosophy, the enquiry form and
   the privacy page. Loads after v3.css. Every rule is prefixed a3n-.
   When approved these rules move into v3.css.
   ------------------------------------------------------------------ */

/* The line under the practice heading sits a little wider than usual. */
#buying-selling .a3-head > p:not(.eyebrow) {
  max-width: 34ch;
}

/* Property potential */
.a3n-potential {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 120px);
  align-items: start;
}

.a3n-potential-copy .eyebrow {
  color: var(--muted);
}

.a3n-potential-copy h2 {
  margin-top: 26px;
  font-size: clamp(36px, 4vw, 70px);
  line-height: 1.08;
  letter-spacing: -.012em;
}

.a3n-potential-copy h2 em {
  display: block;
}

.a3n-potential-copy > p:not(.eyebrow) {
  max-width: 40ch;
  margin: 32px 0 0;
  padding-left: 22px;
  border-left: var(--a3-seam) solid var(--brass);
  font-size: 17px;
  line-height: 1.6;
}

.a3n-potential-copy .text-link {
  max-width: 300px;
  margin-top: 30px;
}

.a3n-points {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: a3n-point;
  border-top: 1px solid var(--ink);
}

.a3n-points li {
  display: grid;
  grid-template-columns: clamp(52px, 5vw, 84px) minmax(0, 1fr);
  gap: 0 12px;
  align-items: baseline;
  padding: clamp(18px, 1.8vw, 26px) 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: a3n-point;
}

.a3n-points li::before {
  content: counter(a3n-point, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1;
  color: #755d2f;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.a3n-points span {
  font-family: var(--serif);
  font-size: clamp(21px, 1.9vw, 30px);
  line-height: 1.25;
  text-wrap: balance;
}

.a3n-small {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* The founder's philosophy */
.a3-founder-copy > p.a3n-philosophy {
  max-width: 44ch;
  margin-top: 22px;
  padding-left: 22px;
  border-left: var(--a3-seam) solid var(--brass);
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
}

/* The enquiry form, on the forest-green invitation */
.a3n-form {
  display: grid;
  gap: 22px;
  max-width: 520px;
  margin-top: 34px;
}

.a3n-form fieldset {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.a3 .a3n-form legend {
  margin-bottom: 10px;
  padding: 0;
  color: #f4d89c;
}

.a3n-choice {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 46px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(242, 239, 233, .22);
  font-size: 16px;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease;
}

.a3n-choice input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid rgba(242, 239, 233, .75);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.a3n-choice input:checked {
  border-color: #f4d89c;
  background: radial-gradient(circle, #f4d89c 0 5px, transparent 6px);
}

.a3n-choice input:focus-visible {
  outline: 2px solid #f4d89c;
  outline-offset: 3px;
}

.a3n-choice:hover,
.a3n-choice:has(input:checked) {
  border-bottom-color: #f4d89c;
  color: #f4d89c;
}

.a3n-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.a3n-field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(242, 239, 233, .86);
}

.a3n-field small {
  font-size: 12px;
  color: rgba(242, 239, 233, .7);
}

.a3n-field input,
.a3n-field textarea {
  width: 100%;
  padding: 10px 0 9px;
  border: 0;
  border-bottom: 1px solid rgba(242, 239, 233, .6);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.4;
}

.a3n-field textarea {
  resize: vertical;
  min-height: 84px;
}

.a3n-field input:focus-visible,
.a3n-field textarea:focus-visible {
  outline: 0;
  border-bottom: 2px solid #f4d89c;
  padding-bottom: 8px;
}

.a3n-error {
  margin: 0;
  padding: 10px 14px;
  border-left: 2px solid #f4d89c;
  background: rgba(242, 239, 233, .08);
  font-size: 15px;
  color: var(--paper);
}

.a3n-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid #f4d89c;
  background: #f4d89c;
  color: #1c2720;
  font-family: var(--serif);
  font-size: 21px;
  text-align: left;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

.a3n-submit .glyph {
  font-size: 18px;
  transition: transform 240ms ease;
}

.a3n-submit:hover,
.a3n-submit:focus-visible {
  background: transparent;
  color: #f4d89c;
}

.a3n-submit:hover .glyph,
.a3n-submit:focus-visible .glyph {
  transform: translate(3px, -3px);
}

.a3n-form .a3n-small {
  margin: 0;
  color: rgba(242, 239, 233, .74);
}

.a3 .a3-invite-copy .a3n-or {
  margin-top: 40px;
  color: rgba(242, 239, 233, .74);
}

.a3-invite-copy .a3n-or + .a3-invite-links {
  margin-top: 10px;
}

.a3n-or + .a3-invite-links a:first-child {
  border-bottom-color: rgba(242, 239, 233, .4);
  font-family: var(--sans);
  font-size: 16px;
}

.a3n-footer-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* The privacy page */
.a3n-policy {
  display: grid;
  gap: clamp(30px, 3vw, 48px);
  max-width: 1000px;
  margin-inline: auto;
}

.a3n-policy-part {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 10px clamp(24px, 4vw, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.a3n-policy-part h2 {
  grid-row: span 3;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.2;
}

.a3n-policy-part p {
  grid-column: 2;
  max-width: 62ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.a3n-policy-part a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 999px) {
  .a3n-potential {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .a3n-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .a3n-policy-part {
    grid-template-columns: minmax(0, 1fr);
  }

  .a3n-policy-part h2,
  .a3n-policy-part p {
    grid-column: 1;
    grid-row: auto;
  }

  .a3n-points li {
    grid-template-columns: 44px minmax(0, 1fr);
  }
}

/* The founder's statement (Nov 24 2026): first paragraph and closing line show; the rest opens on request. */
.a3-founder-copy > p.a3n-statement-lead {
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.65;
}

.a3n-statement {
  max-width: 46ch;
  margin-top: 22px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.a3n-statement summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  font-size: 14px;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
  transition: color 200ms ease;
}

.a3n-statement summary::-webkit-details-marker {
  display: none;
}

.a3n-statement summary:hover,
.a3n-statement summary:focus-visible {
  color: var(--forest);
}

.a3n-close,
.a3n-statement[open] .a3n-open {
  display: none;
}

.a3n-statement[open] .a3n-close {
  display: inline;
}

.a3n-plus {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.a3n-plus::before,
.a3n-plus::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform 240ms ease;
}

.a3n-plus::after {
  transform: rotate(90deg);
}

.a3n-statement[open] .a3n-plus::after {
  transform: rotate(0deg);
}

.a3n-statement-body {
  padding: 4px 0 22px;
}

.a3n-statement-body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.68;
}

.a3n-statement-body p + p {
  margin-top: 1.1em;
}

.a3-founder-copy > p.a3n-philosophy {
  margin-top: 26px;
}

@media print {
  .a3n-statement-body {
    display: block;
  }
}

.a3 .a3-founder-copy .a3n-statement-body p {
  max-width: none;
  margin: 0;
}

.a3 .a3-founder-copy .a3n-statement-body p + p {
  margin-top: 1.2em;
}

/* Nov 24 2026 (later): the statement opens slowly and the portrait stays where it is. */
.a3-founder {
  align-items: start;
}

.a3n-statement-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 52px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .04em;
  text-align: left;
  cursor: pointer;
  transition: color 200ms ease;
}

.a3n-statement.is-ready .a3n-statement-toggle {
  display: flex;
}

.a3n-statement-toggle:hover,
.a3n-statement-toggle:focus-visible {
  color: var(--forest);
}

.a3n-statement-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.a3n-statement[data-open="true"] .a3n-open,
.a3n-statement[data-open="false"] .a3n-close {
  display: none;
}

.a3n-statement[data-open="true"] .a3n-close {
  display: inline;
}

.a3n-statement[data-open="true"] .a3n-plus::after {
  transform: rotate(0deg);
}

.a3n-statement-wrap {
  display: grid;
  grid-template-rows: 1fr;
}

.a3n-statement-wrap > .a3n-statement-body {
  min-height: 0;
  overflow: hidden;
}

.a3n-statement:not(.is-ready) .a3n-statement-body {
  padding-top: 22px;
}

.a3n-statement.is-ready .a3n-statement-wrap {
  transition: grid-template-rows 1100ms cubic-bezier(.3, .1, .2, 1);
}

.a3n-statement.is-ready .a3n-statement-body {
  transition: opacity 900ms ease 150ms, padding 1100ms cubic-bezier(.3, .1, .2, 1);
}

.a3n-statement.is-ready[data-open="false"] .a3n-statement-wrap {
  grid-template-rows: 0fr;
}

.a3n-statement.is-ready[data-open="false"] .a3n-statement-body {
  padding-block: 0;
  opacity: 0;
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  .a3n-statement.is-ready .a3n-statement-wrap,
  .a3n-statement.is-ready .a3n-statement-body {
    transition: none;
  }
}

/* Header "Call" link (site audit, Nov 28 2026). Set like the navigation links: on desktop it sits in the
   header's empty left column; below 1000px, where the navigation folds behind Menu, it stays beside the
   Menu button. Tap target at least 44px tall. */
.a3n-header .a3n-call {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  font-size: 13px;
  color: inherit;
  text-decoration: none;
}

.a3n-header .a3n-call:hover {
  color: #f4d89c;
}

.a3n-header .a3n-call:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 999px) {
  .a3n-header {
    grid-template-columns: 1fr auto auto;
    column-gap: 24px;
  }

  .a3n-header .a3n-call {
    grid-column: 2;
    min-width: 44px;
    justify-content: center;
    padding: 0;
    font-size: inherit;
  }

  .a3n-header .menu-toggle {
    grid-column: 3;
  }
}

@media (max-width: 390px) {
  .a3n-header {
    column-gap: 16px;
  }

  .a3n-header .a3n-call {
    font-size: 14px;
  }
}
