/* Loads in the editor too: layout helpers Elementor has no free control for. */
:root { --sg-ease: cubic-bezier(.16, 1, .3, 1); }
body { overflow-x: clip; }

.sg-sticky { position: sticky; top: 110px; align-self: flex-start; }
.sg-sticky-full { position: sticky; top: 0; align-self: flex-start; }
.sg-frame, .sg-frame > .elementor-widget-container { overflow: hidden; }
.sg-frame img { display: block; }
.sg-ambient, .sg-ambient img, .sg-deco { pointer-events: none; }
.sg-reel { overflow: visible; width: max-content; flex-wrap: nowrap; }
.sg-reel-clip { overflow: hidden; }

/* Fades the photo's bright sky into the page */
.sg-melt { -webkit-mask: linear-gradient(180deg, transparent 0%, #000 22%); mask: linear-gradient(180deg, transparent 0%, #000 22%); }
.sg-melt-bottom { position: relative; }
.sg-melt-bottom::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--e-global-color-sgivory, #F5F2EA) 0%, transparent 26%, transparent 72%, var(--e-global-color-sgdeep, #20281A) 100%); }

.sg-tale img { flex: none; }
.elementor-widget-heading em { color: var(--e-global-color-secondary, #6B7A48); }
.sg-on-dark .elementor-widget-heading em { color: var(--e-global-color-sgsoft, #E3CF94); }
.sg-eyebrow .elementor-heading-title { display: flex; align-items: center; gap: 14px; }
.sg-eyebrow .elementor-heading-title::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.sg-shadow img { filter: drop-shadow(10px 4px 10px rgba(40, 38, 20, .16)) drop-shadow(26px 30px 40px rgba(40, 45, 20, .12)); }

/* Stone plinth: a short travertine cylinder lit from the upper left. Put the class on an empty container. */
.sg-plinth, .sgp__stone {
	--sg-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .3 0 0 0 1.1 -.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--sg-veins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='200' preserveAspectRatio='none'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .045' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .48 0 0 0 0 .36 0 0 0 1.2 -.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v)'/%3E%3C/svg%3E");
	position: relative; isolation: isolate;
	min-height: 0 !important; height: auto !important; aspect-ratio: 100 / 30;
	background: none !important; box-shadow: none !important; border-radius: 0 !important;
}
.sg-plinth::before, .sg-plinth::after, .sgp__stone::before, .sgp__stone::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }
/* the curved side */
.sg-plinth::before, .sgp__stone::before {
	top: 17%; bottom: 0; border-radius: 0 0 50% 50% / 0 0 20.5% 20.5%;
	background:
		var(--sg-grain),
		var(--sg-veins) center / 100% 100%,
		linear-gradient(180deg, rgba(70, 58, 36, .24) 0%, rgba(70, 58, 36, .07) 10%, transparent 30%, transparent 70%, rgba(70, 58, 36, .12) 100%),
		linear-gradient(90deg, #b4a88e 0%, #d5cbb5 9%, #ece5d6 24%, #f5f0e6 34%, #ebe3d3 50%, #d7cbb2 70%, #bfb296 86%, #a89b7f 100%);
	box-shadow: 0 3px 4px -1px rgba(50, 40, 20, .35), 0 18px 30px -8px rgba(50, 40, 20, .3);
}
/* the top face, with the soft shadow of whatever stands on it */
.sg-plinth::after, .sgp__stone::after {
	top: 0; height: 34%; border-radius: 50%;
	background:
		radial-gradient(ellipse 14.5% 13% at 50.5% 50%, rgba(30, 26, 14, .7), rgba(30, 26, 14, 0) 100%),
		radial-gradient(ellipse 21% 34% at 52% 52%, rgba(38, 34, 18, .32), transparent 80%),
		radial-gradient(ellipse 36% 46% at 62% 56%, rgba(38, 34, 18, .12), transparent 72%),
		var(--sg-grain),
		radial-gradient(ellipse 90% 140% at 32% 20%, #fcfaf5 0%, #f3eee4 45%, #e4dbc8 100%);
	box-shadow: inset 0 -1.5px 1px #fffdf6, inset 0 -5px 7px rgba(120, 104, 70, .16);
}
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor a { color: inherit; border-bottom: 1px solid currentColor; }
@media (max-width: 1024px) { .sg-sticky, .sg-sticky-full { position: relative; top: 0; } }

/* Contact form. CF7 puts every field in one <p>, one <label> per field
   separated by <br>, so fields are told apart by their position among
   their label siblings, not by separate paragraphs or a column grid. */
.sg-form form { display: block; }
.sg-form p { margin: 0; }
.sg-form label { display: block; margin-top: 26px; font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--e-global-color-secondary, #6B7A48); }
.sg-form p > label:first-of-type { margin-top: 0; }
.sg-form label::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; background: no-repeat center / contain; opacity: .75; }
.sg-form p > label:nth-of-type(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A48' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.4'/%3E%3Cpath d='M5 20c0-4 3.2-6.4 7-6.4s7 2.4 7 6.4'/%3E%3C/svg%3E"); }
.sg-form p > label:nth-of-type(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A48' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E"); }
.sg-form p > label:nth-of-type(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A48' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 4.5c1 0 2.6.3 2.9 1.4.3 1 .5 2.3-.2 3.1-.6.7-1.3.8-1 1.7.5 1.7 2.4 3.6 4.1 4.1.9.3 1-.4 1.7-1 .8-.7 2.1-.5 3.1-.2 1.1.3 1.4 1.9 1.4 2.9 0 1.7-1.6 2.5-3.1 2.5C9.7 19 5 14.3 5 7.6c0-1.5.8-3.1 2.5-3.1z'/%3E%3C/svg%3E"); }
.sg-form p > label:nth-of-type(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A48' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.6 4.5H6a1.5 1.5 0 0 0-1.5 1.5v6.6c0 .4.2.8.4 1.1l8 8c.6.6 1.5.6 2.1 0l5.3-5.3c.6-.6.6-1.5 0-2.1l-8-8c-.3-.3-.7-.4-1.1-.4z'/%3E%3Ccircle cx='8.8' cy='8.8' r='1.2'/%3E%3C/svg%3E"); }
.sg-form p > label:nth-of-type(5)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A48' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6.5c0-1.1.9-2 2-2h11c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2H9l-4.5 3.5V6.5z'/%3E%3Cpath d='M8 9.5h8M8 13h5'/%3E%3C/svg%3E"); }
.sg-form .sg-wide { margin-top: 30px; }
.sg-form input:not([type=submit]), .sg-form textarea { display: block; width: 100%; margin-top: 10px; padding: 8px 0 10px; border: 0; border-bottom: 1px solid rgba(30,36,23,.18); border-radius: 0; background: transparent; font: inherit; font-size: 18px; color: var(--e-global-color-sgink, #1E2417); resize: none; transition: border-color .4s var(--sg-ease); }
.sg-form input:not([type=submit]):focus, .sg-form textarea:focus { outline: 0; border-bottom-color: var(--e-global-color-primary, #2B3521); }
.sg-form .wpcf7-form-control.wpcf7-not-valid { border-bottom-color: #A4553A; }
.sg-form input[type=submit] { height: 54px; padding: 0 36px; border: 0; border-radius: 100px; background: var(--e-global-color-primary, #2B3521); color: var(--e-global-color-sgivory, #F5F2EA); font-size: 14px; letter-spacing: .08em; cursor: pointer; transition: background .5s var(--sg-ease), transform .4s var(--sg-ease), box-shadow .4s var(--sg-ease), opacity .3s; }
.sg-form input[type=submit]:hover { background: var(--e-global-color-secondary, #6B7A48); transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(43,53,33,.4); }
.sg-form input[type=submit]:active { transform: translateY(0); box-shadow: none; }
.sg-form input[type=submit]:focus-visible { outline: 2px solid var(--e-global-color-secondary, #6B7A48); outline-offset: 3px; }
.sg-form form[data-status="submitting"] input[type=submit] { opacity: .55; pointer-events: none; }
.sg-form .wpcf7-spinner { width: 18px; height: 18px; margin: 0 0 0 14px; vertical-align: middle; opacity: .7; }
.sg-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 12px; font-style: italic; letter-spacing: .01em; color: #A4553A; animation: sg-tip-in .35s var(--sg-ease); }
.sg-form .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* !important beats CF7's own built-in border/color rules, which match this
   element at the same or higher specificity for each submission state. */
.sg-form .wpcf7-response-output { margin: 30px 0 0 !important; padding: 16px 22px 16px 24px !important; border: 0 !important; border-radius: 14px !important; border-left: 3px solid var(--e-global-color-primary, #2B3521) !important; background: var(--e-global-color-sgbone, #EDE8DC) !important; font-size: 14px; line-height: 1.5; color: var(--e-global-color-sgink, #1E2417); animation: sg-tip-in .5s var(--sg-ease); }
.sg-form form.sent .wpcf7-response-output { border-left-color: var(--e-global-color-secondary, #6B7A48) !important; background: #EEF0E4 !important; }
.sg-form form.invalid .wpcf7-response-output, .sg-form form.failed .wpcf7-response-output, .sg-form form.aborted .wpcf7-response-output, .sg-form form.spam .wpcf7-response-output { border-left-color: #A4553A !important; background: #F6ECE7 !important; }
@keyframes sg-tip-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) { .sg-form form { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* Add to cart on the page */
.sg-buy .add_to_cart_inline { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; border: 0 !important; padding: 0 !important; font-family: var(--e-global-typography-primary-font-family, "Cormorant Garamond"); font-size: 40px; font-weight: 300; color: var(--e-global-color-sgink, #1E2417); }
.sg-buy .button, .woocommerce .single_add_to_cart_button.button, .woocommerce a.button, .woocommerce button.button, .wc-block-components-button:not(.is-link) { border-radius: 100px !important; background: var(--e-global-color-primary, #2B3521) !important; color: var(--e-global-color-sgivory, #F5F2EA) !important; font-family: var(--e-global-typography-text-font-family, "Jost"); font-size: 13px; font-weight: 400; letter-spacing: .08em; padding: 16px 30px; transition: background .6s var(--sg-ease); }
.sg-buy .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--e-global-color-secondary, #6B7A48) !important; }


/* ---------- Menu (links come from Appearance → Menus) ---------- */
#masthead .hfe-nav-menu a.hfe-menu-item { position: relative; padding-left: 0 !important; padding-right: 0 !important; transition: color .6s var(--sg-ease); }
#masthead .hfe-nav-menu a.hfe-menu-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .7s var(--sg-ease); }
#masthead .hfe-nav-menu a.hfe-menu-item:hover::after, #masthead .hfe-nav-menu a.hfe-menu-item.is-current::after { transform: scaleX(1); transform-origin: left; }
#masthead .sg-book .elementor-button { position: relative; overflow: hidden; isolation: isolate; }
#masthead .sg-book .elementor-button::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--e-global-color-primary, #2B3521); transform: translateY(102%); transition: transform .7s var(--sg-ease); }
#masthead .sg-book .elementor-button:hover::before { transform: none; }

.sg-burger { display: none; position: relative; width: 30px; height: 30px; margin-left: 10px; padding: 0; border: 0; background: none; cursor: pointer; flex: none; }
.sg-burger span { position: absolute; left: 1px; right: 1px; height: 1px; background: var(--e-global-color-sgink, #1E2417); transition: transform .6s var(--sg-ease), top .6s var(--sg-ease); }
.sg-burger span:first-child { top: 10px; } .sg-burger span:last-child { top: 19px; }
.sg-menu-open .sg-burger span:first-child { top: 15px; transform: rotate(45deg); }
.sg-menu-open .sg-burger span:last-child { top: 15px; transform: rotate(-45deg); }

.sg-drawer { position: fixed; inset: 0; z-index: 890; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 110px 24px 48px; background: var(--e-global-color-sgivory, #F5F2EA); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 1s cubic-bezier(.65,0,.35,1), visibility 0s 1s; overflow-y: auto; }
.sg-drawer a { display: block; font-family: var(--e-global-typography-primary-font-family, "Cormorant Garamond"), serif; font-weight: 300; font-size: clamp(32px, 9vw, 46px); line-height: 1.12; color: var(--e-global-color-sgink, #1E2417); text-decoration: none; opacity: 0; transform: translateY(30px); transition: transform 1s var(--sg-ease), opacity 1s var(--sg-ease), color .5s; }
.sg-drawer a:hover, .sg-drawer a.is-current { color: var(--e-global-color-secondary, #6B7A48); }
.sg-drawer .sg-drawer__book { align-self: flex-start; margin-top: 26px; padding: 18px 28px; border-radius: 100px; background: var(--e-global-color-primary, #2B3521); color: var(--e-global-color-sgivory, #F5F2EA); font-family: var(--e-global-typography-accent-font-family, "Jost"), sans-serif; font-size: 14px; letter-spacing: .08em; }
.sg-menu-open .sg-drawer { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 1s cubic-bezier(.65,0,.35,1), visibility 0s; }
.sg-menu-open .sg-drawer a { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i, 0) * .06s); }
.sg-menu-open #masthead { background: transparent !important; box-shadow: none !important; transform: none !important; }
.sg-menu-open { overflow: hidden; }

@media (max-width: 1024px) {
  #masthead .elementor-widget-navigation-menu, #masthead .sg-book { display: none !important; }
  .sg-burger { display: block; }
}

/* Hello's starter pink (#c36) must never show: neutral links and buttons */
a { color: var(--e-global-color-primary, #2B3521); }
a:hover, a:active { color: var(--e-global-color-secondary, #6B7A48); }
.sg-burger, .sg-burger:hover, .sg-burger:focus, .sg-burger:active { background: none !important; border: 0 !important; border-radius: 0; color: inherit; box-shadow: none; padding: 0; }
.sg-burger:focus-visible { outline: 1px solid var(--e-global-color-secondary, #6B7A48); outline-offset: 4px; }
[type=button]:hover, [type=button]:focus, [type=submit]:hover, [type=submit]:focus, button:hover, button:focus { background-color: transparent; color: inherit; }

/* Cart bag in the header */
#masthead .hfe-menu-cart__toggle .elementor-button { background: none !important; border: 0 !important; padding: 4px !important; }
#masthead .hfe-menu-cart__toggle .elementor-button-icon { position: relative; }
#masthead .hfe-menu-cart__toggle .elementor-button-icon i { font-size: 21px; }
#masthead .hfe-menu-cart__toggle .elementor-button-icon[data-counter]::before { top: -6px; right: -9px; min-width: 17px; height: 17px; line-height: 17px; padding: 0 4px; font-family: var(--e-global-typography-text-font-family, "Jost"), sans-serif; font-size: 10px; font-weight: 400; border-radius: 20px; }
#masthead .hfe-menu-cart__toggle .elementor-button-text { display: none; }

/* "View cart" that WooCommerce adds after the homepage button */
.sg-buy a.added_to_cart { font-family: var(--e-global-typography-text-font-family, "Jost"), sans-serif; font-size: 14px; letter-spacing: .06em; color: var(--e-global-color-primary, #2B3521); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
